public interface FileCache extends ConfigurationElement
ConfigurationElement.State
Modifier and Type | Method and Description |
---|---|
MessageFile |
getFile()
Obtain a temporary file
|
void |
registerReadyCallback(Runnable cb)
Register a callback to be invoked when a file is ready
|
void |
returnFile(MessageFile file)
Return a temporary file back to pooled cache
|
getDerivedName, getId, getState, isDebugOn, isStarted, maintenanceShutdown, pause, resume, retire, start, stop
MessageFile getFile()
void registerReadyCallback(Runnable cb)
cb
- the callback to be invokedvoid returnFile(MessageFile file)
file
- file to re-useCopyright © 2010–2016 AdroitLogic. All rights reserved.