ncsa.tools.trebuchet.core.operations
Class CacheBasedOperation
java.lang.Object
ncsa.tools.trebuchet.core.operations.Operation
ncsa.tools.trebuchet.core.operations.CacheBasedOperation
- All Implemented Interfaces:
- ICacheAccessor, ICacheBasedOperation, IConfigurable, IOperation, java.lang.Runnable, Stoppable
- Direct Known Subclasses:
- Copy, Delete, Mkdir, ScannedInputOperation, Touch
- public abstract class CacheBasedOperation
- extends Operation
- implements ICacheBasedOperation
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
| Methods inherited from interface ncsa.tools.common.Stoppable |
halt |
CacheBasedOperation
public CacheBasedOperation()
haltInternal
public void haltInternal()
cleanup
public void cleanup()
- Specified by:
cleanup in interface IOperation
getReadOnlyCacheInstance
public OperationCache getReadOnlyCacheInstance()
throws java.io.IOException
- Specified by:
getReadOnlyCacheInstance in interface ICacheBasedOperation
- Throws:
java.io.IOException
getCacheFile
public java.io.File getCacheFile()
throws java.io.IOException
- Throws:
java.io.IOException
storeConfiguration
public void storeConfiguration(TrebuchetConfiguration configuration)
throws java.io.IOException
- Specified by:
storeConfiguration in interface ICacheBasedOperation
- Throws:
java.io.IOException
setCache
public void setCache(OperationCache cache)
- Specified by:
setCache in interface ICacheAccessor
setListCache
public void setListCache(java.lang.String cacheFile)
- Specified by:
setListCache in interface ICacheBasedOperation
setCopyCache
public void setCopyCache(java.lang.String cacheFile)
- Specified by:
setCopyCache in interface ICacheBasedOperation