|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.filesys.alfresco.ShuffleCacheImpl
public class ShuffleCacheImpl
Cache for alfresco "CIFS shuffles"
| Constructor Summary | |
|---|---|
ShuffleCacheImpl()
|
|
| Method Summary | |
|---|---|
void |
createTemporaryFile(java.lang.String path)
Add a new temporary file to the "shuffle cache". |
boolean |
isCaseSensitive()
|
boolean |
isCreated(java.lang.String path)
Has the path been "soft created" |
boolean |
isDeleted(java.lang.String path)
Has the path been "soft deleted" |
boolean |
isShuffleDirectory(java.lang.String dir)
Does the specified directory contain a shuffled temporary file |
void |
renameTemporaryFile(java.lang.String oldPath,
java.lang.String newPath)
Takes the contents of a temporary file and applies it to the new path. |
void |
setCaseSensitive(boolean caseSensitive)
|
void |
softDelete(java.lang.String path)
Soft delete a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShuffleCacheImpl()
| Method Detail |
|---|
public void createTemporaryFile(java.lang.String path)
ShuffleCache
createTemporaryFile in interface ShuffleCachepublic void softDelete(java.lang.String path)
ShuffleCache
softDelete in interface ShuffleCache
public void renameTemporaryFile(java.lang.String oldPath,
java.lang.String newPath)
ShuffleCacheIf the new path has been soft deleted then the soft delete is removed.
After the contents of the temporary file have been written the it may may be made available for garbage collection.
renameTemporaryFile in interface ShuffleCacheoldPath - the location of the temporaryFilenewPath - the location of the new file.public boolean isShuffleDirectory(java.lang.String dir)
ShuffleCache
isShuffleDirectory in interface ShuffleCachepublic boolean isDeleted(java.lang.String path)
ShuffleCache
isDeleted in interface ShuffleCachepublic boolean isCreated(java.lang.String path)
ShuffleCache
isCreated in interface ShuffleCachepublic void setCaseSensitive(boolean caseSensitive)
public boolean isCaseSensitive()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||