org.apache.activemq.store.kahadb.disk.journal
Class Journal.WriteCommand

java.lang.Object
  extended by org.apache.activemq.store.kahadb.disk.util.LinkedNode<Journal.WriteCommand>
      extended by org.apache.activemq.store.kahadb.disk.journal.Journal.WriteCommand
Enclosing class:
Journal

public static class Journal.WriteCommand
extends LinkedNode<Journal.WriteCommand>


Field Summary
 ByteSequence data
           
 Location location
           
 Runnable onComplete
           
 
Fields inherited from class org.apache.activemq.store.kahadb.disk.util.LinkedNode
list, next, prev
 
Constructor Summary
Journal.WriteCommand(Location location, ByteSequence data, boolean sync)
           
Journal.WriteCommand(Location location, ByteSequence data, Runnable onComplete)
           
 
Method Summary
 
Methods inherited from class org.apache.activemq.store.kahadb.disk.util.LinkedNode
getHeadNode, getList, getNext, getNextCircular, getPrevious, getPreviousCircular, getTailNode, isHeadNode, isLinked, isTailNode, linkAfter, linkAfter, linkBefore, linkBefore, linkToHead, linkToTail, splitAfter, splitBefore, unlink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

public final Location location

data

public final ByteSequence data

onComplete

public final Runnable onComplete
Constructor Detail

Journal.WriteCommand

public Journal.WriteCommand(Location location,
                            ByteSequence data,
                            boolean sync)

Journal.WriteCommand

public Journal.WriteCommand(Location location,
                            ByteSequence data,
                            Runnable onComplete)


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