Package | Description |
---|---|
org.alfresco.jlan.server.filesys.cache.cluster | |
org.alfresco.jlan.server.filesys.cache.hazelcast |
Modifier and Type | Method and Description |
---|---|
protected ClusterFileState |
FileStatePostProcessor.getState()
Return the file state
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
ClusterFileStateCache.canReadFile(ClusterFileState clState,
long offset,
long len,
int pid)
Check if the file is readable for the specified section of the file and process id
|
abstract boolean |
ClusterFileStateCache.canWriteFile(ClusterFileState clState,
long offset,
long len,
int pid)
Check if the file is writeable for the specified section of the file and process id
|
abstract PerNodeState |
ClusterFileStateCache.getPerNodeState(ClusterFileState fState,
boolean createState)
Return the per node state for a file state, and optionally create a new per node state
|
abstract void |
ClusterBase.requestOplockBreak(ClusterNode clNode,
ClusterFileState clState)
Request an oplock break
|
abstract void |
ClusterFileStateCache.updateFileState(ClusterFileState clState,
int updateMask)
Update a file state, notify the cluster of the updates
|
Constructor and Description |
---|
FileStatePostProcessor(ClusterFileStateCache stateCache,
ClusterFileState state)
Class constructor
|
Modifier and Type | Class and Description |
---|---|
class |
HazelCastClusterFileState
HazelCast Cluster File State Class
|
Modifier and Type | Method and Description |
---|---|
protected ClusterFileState |
RemoveFileByteLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected ClusterFileState |
AddFileByteLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
Modifier and Type | Method and Description |
---|---|
boolean |
HazelCastClusterFileStateCache.canReadFile(ClusterFileState clState,
long offset,
long len,
int pid)
Check if the file is readable for the specified section of the file and process id
|
boolean |
HazelCastClusterFileStateCache.canWriteFile(ClusterFileState clState,
long offset,
long len,
int pid)
Check if the file is writeable for the specified section of the file and process id
|
protected boolean |
HazelCastClusterFileStateCache.checkFileAccess(ClusterFileState clState,
long offset,
long len,
int pid,
boolean writeCheck)
Check file access using a remote call
|
PerNodeState |
HazelCastClusterFileStateCache.getPerNodeState(ClusterFileState fState,
boolean createState)
Return the per node state for a file state, and optionally create a new per node state
|
protected boolean |
HazelCastClusterFileStateCache.remoteUpdateState(ClusterFileState clState,
int updateMask)
Update a file state using a remote task call
|
protected Boolean |
UpdateStateTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Integer |
ReleaseFileAccessTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected ClusterFileState |
RemoveFileByteLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
RemoveOpLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
FileDataUpdateTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
CheckFileByteLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected abstract T |
RemoteStateTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected ClusterFileState |
AddFileByteLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected FileAccessToken |
GrantFileAccessTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
RenameStateTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Integer |
ChangeOpLockTypeTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
AddOpLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
void |
HazelCastClusterFileStateCache.updateFileState(ClusterFileState clState,
int updateMask)
Update a file state, notify the cluster of the updates
|
protected void |
HazelCastClusterFileStateCache.updateNearCacheState(ClusterFileState clState)
Update a near-cache state with a new state received from a remote task call
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
RemoteCacheTask.runRemoteTask(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
String key)
Run a remote task
|
protected Boolean |
UpdateStateTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Integer |
ReleaseFileAccessTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected ClusterFileState |
RemoveFileByteLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
RemoveOpLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
FileDataUpdateTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
CheckFileByteLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected abstract T |
RemoteStateTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected ClusterFileState |
AddFileByteLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected FileAccessToken |
GrantFileAccessTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
RenameStateTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Integer |
ChangeOpLockTypeTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
protected Boolean |
AddOpLockTask.runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
Constructor and Description |
---|
StateUpdateMessage(String targetNode,
ClusterNode fromNode,
ClusterFileState clState,
int updateMask)
Class constructor
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.