public class RemoveFileByteLockTask extends RemoteStateTask<ClusterFileState>
Used to synchronize removing a byte range lock on a file state by executing on the remote node that owns the file state/key.
TaskDebug, TaskLockState, TaskNoUpdate, TaskTiming| Constructor and Description |
|---|
RemoveFileByteLockTask()
Default constructor
|
RemoveFileByteLockTask(String mapName,
String key,
ClusterFileLock lock,
boolean debug,
boolean timingDebug)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected ClusterFileState |
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, setHazelcastInstancepublic RemoveFileByteLockTask()
public RemoveFileByteLockTask(String mapName, String key, ClusterFileLock lock, boolean debug, boolean timingDebug)
mapName - Stringkey - Stringlock - ClusterFileLockdebug - booleantimingDebug - booleanprotected ClusterFileState runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache, ClusterFileState fState) throws Exception
runRemoteTaskAgainstState in class RemoteStateTask<ClusterFileState>stateCache - IMapfState - ClusterFileStateExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.