Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomplet.container
Class CumulativeAckSet

java.lang.Object
  extended by org.projectodd.stilts.stomplet.container.CumulativeAckSet
All Implemented Interfaces:
AckSet

public class CumulativeAckSet
extends Object
implements AckSet


Constructor Summary
CumulativeAckSet()
           
 
Method Summary
 void ack(String messageId)
           
 void addAcknowledger(String messageId, Acknowledger acknowledger)
           
 void close()
           
protected  boolean hasMessageId(String messageId)
           
 void nack(String messageId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CumulativeAckSet

public CumulativeAckSet()
Method Detail

ack

public void ack(String messageId)
         throws Exception
Specified by:
ack in interface AckSet
Throws:
Exception

nack

public void nack(String messageId)
          throws Exception
Specified by:
nack in interface AckSet
Throws:
Exception

hasMessageId

protected boolean hasMessageId(String messageId)

addAcknowledger

public void addAcknowledger(String messageId,
                            Acknowledger acknowledger)
Specified by:
addAcknowledger in interface AckSet

close

public void close()
Specified by:
close in interface AckSet

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.