Class SessionRefreshOperation
- java.lang.Object
-
- org.apache.jackrabbit.core.session.SessionRefreshOperation
-
- All Implemented Interfaces:
SessionOperation<Object>
public class SessionRefreshOperation extends Object implements SessionOperation<Object>
Operation to refresh the state of a session.
-
-
Constructor Summary
Constructors Constructor Description SessionRefreshOperation(boolean keepChanges, boolean clusterSync)
Creates a session refresh operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
perform(SessionContext context)
Refreshes the session.String
toString()
Returns a string representation of this operation.
-
-
-
Method Detail
-
perform
public Object perform(SessionContext context) throws RepositoryException
Refreshes the session.- Specified by:
perform
in interfaceSessionOperation<Object>
- Parameters:
context
- component context of this session- Throws:
RepositoryException
- if the operation fails
-
-