public final class DataManagerFacade extends Object implements DataManager
| Constructor and Description |
|---|
DataManagerFacade(AsyncDataManager dataManager,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterestInFile(int file) |
void |
close() |
void |
consolidateDataFiles() |
boolean |
delete() |
void |
force() |
String |
getName() |
Marshaller |
getRedoMarshaller() |
Object |
readItem(Marshaller marshaller,
StoreLocation location) |
void |
recoverRedoItems(RedoListener listener) |
void |
removeInterestInFile(int file) |
void |
setRedoMarshaller(Marshaller redoMarshaller) |
StoreLocation |
storeDataItem(Marshaller marshaller,
Object payload) |
StoreLocation |
storeRedoItem(Object payload) |
void |
updateItem(StoreLocation location,
Marshaller marshaller,
Object payload) |
public DataManagerFacade(AsyncDataManager dataManager, String name)
public Object readItem(Marshaller marshaller, StoreLocation location) throws IOException
readItem in interface DataManagerIOExceptionpublic StoreLocation storeDataItem(Marshaller marshaller, Object payload) throws IOException
storeDataItem in interface DataManagerIOExceptionpublic void force() throws IOException
force in interface DataManagerIOExceptionpublic void updateItem(StoreLocation location, Marshaller marshaller, Object payload) throws IOException
updateItem in interface DataManagerIOExceptionpublic void close() throws IOException
close in interface DataManagerIOExceptionpublic void consolidateDataFiles() throws IOException
consolidateDataFiles in interface DataManagerIOExceptionpublic boolean delete() throws IOException
delete in interface DataManagerIOExceptionpublic void addInterestInFile(int file) throws IOException
addInterestInFile in interface DataManagerIOExceptionpublic void removeInterestInFile(int file) throws IOException
removeInterestInFile in interface DataManagerIOExceptionpublic void recoverRedoItems(RedoListener listener) throws IOException
recoverRedoItems in interface DataManagerIOExceptionpublic StoreLocation storeRedoItem(Object payload) throws IOException
storeRedoItem in interface DataManagerIOExceptionpublic Marshaller getRedoMarshaller()
getRedoMarshaller in interface DataManagerpublic void setRedoMarshaller(Marshaller redoMarshaller)
setRedoMarshaller in interface DataManagerpublic String getName()
getName in interface DataManagerCopyright © 2005–2017. All rights reserved.