public class ChangeOpLockTypeTask extends RemoteStateTask<Integer>
Used to synchronize changing an oplock type on a file state by executing on the remote node that owns the file state/key.
TaskDebug, TaskLockState, TaskNoUpdate, TaskTiming
Constructor and Description |
---|
ChangeOpLockTypeTask()
Default constructor
|
ChangeOpLockTypeTask(String mapName,
String key,
int newLockType,
boolean debug,
boolean timingDebug)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
protected Integer |
runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
call, getHazelcastInstance, getKey, getMapName, getTaskName, hasDebug, hasOption, hasTimingDebug, setHazelcastInstance
protected Integer runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache, ClusterFileState fState) throws Exception
runRemoteTaskAgainstState
in class RemoteStateTask<Integer>
stateCache
- IMapfState
- ClusterFileStateException
Copyright © 2005–2017 Alfresco Software. All rights reserved.