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