org.apache.activemq.store.kahadb.disk.journal
Interface FileAppender


public interface FileAppender


Field Summary
static int maxStat
           
static String PROPERTY_LOG_WRITE_STAT_WINDOW
           
 
Method Summary
 void close()
           
 Location storeItem(ByteSequence data, byte type, boolean sync)
           
 Location storeItem(ByteSequence data, byte type, Runnable onComplete)
           
 

Field Detail

PROPERTY_LOG_WRITE_STAT_WINDOW

static final String PROPERTY_LOG_WRITE_STAT_WINDOW
See Also:
Constant Field Values

maxStat

static final int maxStat
Method Detail

storeItem

Location storeItem(ByteSequence data,
                   byte type,
                   boolean sync)
                   throws IOException
Throws:
IOException

storeItem

Location storeItem(ByteSequence data,
                   byte type,
                   Runnable onComplete)
                   throws IOException
Throws:
IOException

close

void close()
           throws IOException
Throws:
IOException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.