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()
           
 String getName()
           
 Marshaller getRedoMarshaller()
           
 Object readItem(Marshaller marshaller, StoreLocation item)
           
 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)
           
 

Method Detail

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-2012 The Apache Software Foundation. All Rights Reserved.