public class SessionRefreshOperation extends Object implements SessionOperation<Object>
Constructor and Description |
---|
SessionRefreshOperation(boolean keepChanges,
boolean clusterSync)
Creates a session refresh operation.
|
Modifier and Type | Method and Description |
---|---|
Object |
perform(SessionContext context)
Refreshes the session.
|
String |
toString()
Returns a string representation of this operation.
|
public SessionRefreshOperation(boolean keepChanges, boolean clusterSync)
keepChanges
- whether to keep transient changesclusterSync
- whether to synchronise with other cluster nodespublic Object perform(SessionContext context) throws RepositoryException
perform
in interface SessionOperation<Object>
context
- component context of this sessionRepositoryException
- if the operation failsCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.