org.apache.activemq.kaha.impl
Interface DataManager
- All Known Implementing Classes:
- DataManagerFacade, DataManagerImpl
public interface DataManager
getName
String getName()
readItem
Object readItem(Marshaller marshaller,
StoreLocation item)
throws IOException
- Throws:
IOException
storeDataItem
StoreLocation storeDataItem(Marshaller marshaller,
Object payload)
throws IOException
- Throws:
IOException
storeRedoItem
StoreLocation storeRedoItem(Object payload)
throws IOException
- Throws:
IOException
updateItem
void updateItem(StoreLocation location,
Marshaller marshaller,
Object payload)
throws IOException
- Throws:
IOException
recoverRedoItems
void recoverRedoItems(RedoListener listener)
throws IOException
- Throws:
IOException
close
void close()
throws IOException
- Throws:
IOException
force
void force()
throws IOException
- Throws:
IOException
delete
boolean delete()
throws IOException
- Throws:
IOException
addInterestInFile
void addInterestInFile(int file)
throws IOException
- Throws:
IOException
removeInterestInFile
void removeInterestInFile(int file)
throws IOException
- Throws:
IOException
consolidateDataFiles
void consolidateDataFiles()
throws IOException
- Throws:
IOException
getRedoMarshaller
Marshaller getRedoMarshaller()
setRedoMarshaller
void setRedoMarshaller(Marshaller redoMarshaller)
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.