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 javax.jcr.RepositoryException
perform
in interface SessionOperation<Object>
context
- component context of this sessionjavax.jcr.RepositoryException
- if the operation failsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.