Modifier and Type | Method and Description |
---|---|
void |
Md5SumFileProcessor.processLoadedFile(DiskDeviceContext context,
FileState state,
FileSegment segment)
Process a cached file just after being loaded.
|
void |
Md5SumFileProcessor.processStoredFile(DiskDeviceContext context,
FileState state,
FileSegment segment)
Process a cached file just before it is to be stored.
|
Modifier and Type | Class and Description |
---|---|
class |
LocalFileState
Local File State Class
|
Modifier and Type | Method and Description |
---|---|
FileState |
StandaloneFileStateCache.findFileState(String path)
Find the file state for the specified path
|
abstract FileState |
FileStateCache.findFileState(String path)
Find the file state for the specified path
|
FileState |
StandaloneFileStateCache.findFileState(String path,
boolean create)
Find the file state for the specified path, and optionally create a new file state if not
found
|
abstract FileState |
FileStateCache.findFileState(String path,
boolean create)
Find the file state for the specified path, and optionally create a new file state if not
found
|
FileState |
StandaloneFileStateCache.findFileState(String path,
boolean create,
int status)
Find the file state for the specified path, and optionally create a new file state if not
found with the specified initial status
|
abstract FileState |
FileStateCache.findFileState(String path,
boolean create,
int status)
Find the file state for the specified path, and optionally create a new file state if not
found with the specified initial status
|
FileState |
FileStateProxy.getFileState()
Return the file state object
|
FileState |
NetworkFileStateInterface.getFileState()
Return the file state
|
FileState |
LocalFileStateProxy.getFileState()
Return the file state
|
FileState |
StandaloneFileStateCache.removeFileState(String path)
Remove the file state for the specified path
|
abstract FileState |
FileStateCache.removeFileState(String path)
Remove the file state for the specified path
|
Modifier and Type | Method and Description |
---|---|
void |
FileStateCache.addLock(FileState fstate,
FileLock lock)
Add a lock to this file
|
boolean |
FileStateCache.addOpLock(FileState fstate,
OpLockDetails oplock,
NetworkFile netFile)
Add an oplock
|
void |
FileStateCache.clearOpLock(FileState fstate)
Clear an oplock
|
void |
FileStateListener.fileStateClosed(FileState state)
File state cache is closing down, any resources attached to the file state must be released.
|
boolean |
FileStateListener.fileStateExpired(FileState state)
File state has expired.
|
FileStateProxy |
FileStateCache.getFileStateProxy(FileState fstate)
Return a file state proxy for the specified file state
|
OpLockDetails |
FileStateCache.getOpLock(FileState fstate)
Return the oplock details for a file, or null if there is no oplock
|
FileAccessToken |
FileStateCache.grantFileAccess(FileOpenParams params,
FileState fstate,
int fileSts)
Grant the required file access
|
boolean |
FileStateCache.hasActiveLocks(FileState fstate)
Check if there are active locks on this file
|
int |
FileStateCache.releaseFileAccess(FileState fstate,
FileAccessToken token)
Release access to a file
|
void |
FileStateCache.removeLock(FileState fstate,
FileLock lock)
Remove a lock on this file
|
void |
StandaloneFileStateCache.renameFileState(String newPath,
FileState state,
boolean isDir)
Rename a file state, remove the existing entry, update the path and add the state back into
the cache using the new path.
|
abstract void |
FileStateCache.renameFileState(String newPath,
FileState state,
boolean isDir)
Rename a file state, remove the existing entry, update the path and add the state back into
the cache using the new path.
|
void |
FileStateCache.setDataUpdateCompleted(FileState fstate)
Indicate that a data update has completed for the specified file
|
void |
FileStateCache.setDataUpdateInProgress(FileState fstate)
Indicate a data update is in progress for the specified file
|
Constructor and Description |
---|
LocalFileStateProxy(FileState fstate)
Class constructor
|
Modifier and Type | Class and Description |
---|---|
class |
ClusterFileState
Cluster File State Class
|
Modifier and Type | Class and Description |
---|---|
class |
HazelCastClusterFileState
HazelCast Cluster File State Class
|
Modifier and Type | Method and Description |
---|---|
FileState |
HazelCastClusterFileStateCache.findFileState(String path)
Find the file state for the specified path
|
FileState |
HazelCastClusterFileStateCache.findFileState(String path,
boolean create)
Find the file state for the specified path, and optionally create a new file state if not
found
|
FileState |
HazelCastClusterFileStateCache.findFileState(String path,
boolean create,
int status)
Find the file state for the specified path, and optionally create a new file state if not
found with the specified initial status
|
FileState |
HazelCastFileStateProxy.getFileState()
Return the file state
|
FileState |
HazelCastClusterFileStateCache.removeFileState(String path)
Remove the file state for the specified path
|
Modifier and Type | Method and Description |
---|---|
void |
HazelCastClusterFileStateCache.addLock(FileState fstate,
FileLock lock)
Add a lock to this file
|
boolean |
HazelCastClusterFileStateCache.addOpLock(FileState fstate,
OpLockDetails oplock,
NetworkFile netFile)
Add an oplock
|
void |
HazelCastClusterFileStateCache.clearOpLock(FileState fstate)
Clear an oplock
|
FileStateProxy |
HazelCastClusterFileStateCache.getFileStateProxy(FileState fstate)
Return a file state proxy for the specified file state
|
OpLockDetails |
HazelCastClusterFileStateCache.getOpLock(FileState fstate)
Return the oplock details for a file, or null if there is no oplock
|
FileAccessToken |
HazelCastClusterFileStateCache.grantFileAccess(FileOpenParams params,
FileState fstate,
int fileSts)
Grant the required file access
|
boolean |
HazelCastClusterFileStateCache.hasActiveLocks(FileState fstate)
Check if there are active locks on this file
|
int |
HazelCastClusterFileStateCache.releaseFileAccess(FileState fstate,
FileAccessToken token)
Release access to a file
|
void |
HazelCastClusterFileStateCache.removeLock(FileState fstate,
FileLock lock)
Remove a lock on this file
|
void |
HazelCastClusterFileStateCache.renameFileState(String newPath,
FileState state,
boolean isDir)
Rename a file state, remove the existing entry, update the path and add the state back into
the cache using the new path.
|
void |
HazelCastClusterFileStateCache.setDataUpdateCompleted(FileState fstate)
Indicate that a data update has completed for the specified file
|
void |
HazelCastClusterFileStateCache.setDataUpdateInProgress(FileState fstate)
Indicate a data update is in progress for the specified file
|
Modifier and Type | Method and Description |
---|---|
protected FileState |
BackgroundLoadSave.createFileStateForRequest(int fid,
String tempPath,
String virtPath,
int sts)
Re-create, or attach, a file request to the file state.
|
protected FileState |
DBFileLoader.createFileStateForRequest(int fid,
String tempPath,
String virtPath,
int sts)
Re-create, or attach, a file request to the file state.
|
protected FileState |
ObjectIdFileLoader.createFileStateForRequest(int fid,
String tempPath,
String virtPath,
int sts)
Re-create, or attach, a file request to the file state.
|
FileState |
DBNetworkFile.getFileState()
Return the associated caching file state
|
protected FileState |
DBDiskDriver.getFileState(String path,
DBDeviceContext ctx,
boolean create)
Get the cached file state for the specified path
|
Modifier and Type | Method and Description |
---|---|
protected NetworkFile |
DBDiskDriver.createStream(SrvSession sess,
TreeConnection tree,
FileOpenParams params,
FileState parent,
DBDeviceContext dbCtx)
Create a new stream with the specified parent file
|
void |
DBFileLoader.fileStateClosed(FileState state)
File state cache is closing down, any resources attached to the file state must be released.
|
void |
DBDeviceContext.fileStateClosed(FileState state)
File state cache is closing down, any resources attached to the file state must be released.
|
void |
ObjectIdFileLoader.fileStateClosed(FileState state)
File state cache is closing down, any resources attached to the file state must be released.
|
boolean |
DBFileLoader.fileStateExpired(FileState state)
File state has expired.
|
boolean |
DBDeviceContext.fileStateExpired(FileState state)
File state has expired.
|
boolean |
ObjectIdFileLoader.fileStateExpired(FileState state)
File state has expired.
|
protected DBFileInfo |
DBDiskDriver.getFileDetails(String path,
DBDeviceContext dbCtx,
FileState fstate)
Get the file id for a file
|
protected void |
DBDiskDriver.getRetentionDetailsForState(DBDeviceContext dbCtx,
FileState fstate)
Load the retention details for a file state, if enabled
|
DBFileInfo |
DBDiskDriver.getStreamInfo(FileState parent,
String[] paths,
DBDeviceContext dbCtx)
Get the details for a file stream
|
protected StreamInfoList |
DBDiskDriver.loadStreamList(FileState fstate,
DBFileInfo finfo,
DBDeviceContext dbCtx,
boolean dbLoad)
Load the stream list for the specified file
|
protected NetworkFile |
DBDiskDriver.openStream(SrvSession sess,
TreeConnection tree,
FileOpenParams params,
FileState parent,
DBDeviceContext dbCtx)
Open an existing stream with the specified parent file
|
protected void |
DBFileLoader.runFileLoadedProcessors(DiskDeviceContext context,
FileState state,
FileSegment segment)
Run the file load file processors
|
protected void |
ObjectIdFileLoader.runFileLoadedProcessors(DiskDeviceContext context,
FileState state,
FileSegment segment)
Run the file load file processors
|
protected void |
DBFileLoader.runFileStoreProcessors(DiskDeviceContext context,
FileState state,
FileSegment segment)
Run the file store file processors
|
protected void |
ObjectIdFileLoader.runFileStoreProcessors(DiskDeviceContext context,
FileState state,
FileSegment segment)
Run the file store file processors
|
Modifier and Type | Method and Description |
---|---|
FileState |
SingleFileRequest.getFileState()
Return the associated file state
|
FileState |
DeleteFileRequest.getFileState()
Return the associated file state
|
FileState |
CachedFileInfo.getFileState()
Return the associated file state
|
Modifier and Type | Method and Description |
---|---|
void |
FileProcessor.processLoadedFile(DiskDeviceContext context,
FileState state,
FileSegment segment)
Process a cached file just after being loaded.
|
void |
FileProcessor.processStoredFile(DiskDeviceContext context,
FileState state,
FileSegment segment)
Process a cached file just before it is to be stored.
|
void |
SingleFileRequest.setFileState(FileState state)
Set the associated file state for the request
|
void |
DeleteFileRequest.setFileState(FileState state)
Set the associated file state for the request
|
void |
CachedFileInfo.setFileState(FileState state)
Set the associated file state
|
Constructor and Description |
---|
DeleteFileRequest(int fid,
int stid,
String tempPath,
String virtPath,
FileState state)
Class constructor
|
SingleFileRequest(int typ,
int fid,
int stid,
FileSegmentInfo segInfo,
String virtPath,
FileState state)
Class constructor
|
SingleFileRequest(int typ,
int fid,
int stid,
String tempPath,
String virtPath,
FileState state)
Class constructor
|
SingleFileRequest(int typ,
int fid,
int stid,
String tempPath,
String virtPath,
int seq,
FileState state)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
FileState |
MemoryNetworkFile.getFileState()
Return a dummy file state for this file
|
FileState |
PseudoNetworkFile.getFileState()
Return a dummy file state for this file
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.