org.apache.activemq.kaha.impl
Interface DataManager

All Known Implementing Classes:
DataManagerFacade, DataManagerImpl

public interface DataManager


Method Summary
 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 item)
           
 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)
           
 

Method Detail

getName

java.lang.String getName()

readItem

java.lang.Object readItem(Marshaller marshaller,
                          StoreLocation item)
                          throws java.io.IOException
Throws:
java.io.IOException

storeDataItem

StoreLocation storeDataItem(Marshaller marshaller,
                            java.lang.Object payload)
                            throws java.io.IOException
Throws:
java.io.IOException

storeRedoItem

StoreLocation storeRedoItem(java.lang.Object payload)
                            throws java.io.IOException
Throws:
java.io.IOException

updateItem

void updateItem(StoreLocation location,
                Marshaller marshaller,
                java.lang.Object payload)
                throws java.io.IOException
Throws:
java.io.IOException

recoverRedoItems

void recoverRedoItems(RedoListener listener)
                      throws java.io.IOException
Throws:
java.io.IOException

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException

force

void force()
           throws java.io.IOException
Throws:
java.io.IOException

delete

boolean delete()
               throws java.io.IOException
Throws:
java.io.IOException

addInterestInFile

void addInterestInFile(int file)
                       throws java.io.IOException
Throws:
java.io.IOException

removeInterestInFile

void removeInterestInFile(int file)
                          throws java.io.IOException
Throws:
java.io.IOException

consolidateDataFiles

void consolidateDataFiles()
                          throws java.io.IOException
Throws:
java.io.IOException

getRedoMarshaller

Marshaller getRedoMarshaller()

setRedoMarshaller

void setRedoMarshaller(Marshaller redoMarshaller)


Copyright © 2005-2016. All Rights Reserved.