public class CheckFileByteLockTask extends RemoteStateTask<Boolean>
Used to synchronize checking if an area of a file is readable/writeable by executing on the remote node that owns the file state/key.
TaskDebug, TaskLockState, TaskNoUpdate, TaskTiming| Constructor and Description |
|---|
CheckFileByteLockTask()
Default constructor
|
CheckFileByteLockTask(String mapName,
String key,
ClusterFileLock lockCheck,
boolean writeCheck,
boolean debug,
boolean timingDebug)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
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 CheckFileByteLockTask()
public CheckFileByteLockTask(String mapName, String key, ClusterFileLock lockCheck, boolean writeCheck, boolean debug, boolean timingDebug)
mapName - Stringkey - StringlockCheck - ClusterFileLockwriteCheck - booleandebug - booleantimingDebug - booleanprotected Boolean runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache, ClusterFileState fState) throws Exception
runRemoteTaskAgainstState in class RemoteStateTask<Boolean>stateCache - IMapfState - ClusterFileStateExceptionCopyright © 2005–2020 Alfresco Software. All rights reserved.