public class AddFileByteLockTask extends RemoteStateTask
Used to synchronize adding a byte range lock to a file state by executing on the remote node that owns the file state/key.
TaskDebug, TaskLockState, TaskNoUpdate, TaskTiming| Constructor and Description |
|---|
AddFileByteLockTask()
Default constructor
|
AddFileByteLockTask(java.lang.String mapName,
java.lang.String key,
ClusterFileLock lock,
boolean debug,
boolean timingDebug)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected ClusterFileState |
runRemoteTaskAgainstState(com.hazelcast.core.IMap stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
call, getHazelcastInstance, getKey, getMapName, getTaskName, hasDebug, hasOption, hasTimingDebug, setHazelcastInstancepublic AddFileByteLockTask()
public AddFileByteLockTask(java.lang.String mapName,
java.lang.String key,
ClusterFileLock lock,
boolean debug,
boolean timingDebug)
mapName - Stringkey - Stringlock - ClusterFileLockdebug - booleantimingDebug - booleanprotected ClusterFileState runRemoteTaskAgainstState(com.hazelcast.core.IMap stateCache, ClusterFileState fState) throws java.lang.Exception
runRemoteTaskAgainstState in class RemoteStateTaskstateCache - IMapfState - ClusterFileStatejava.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.