com.netflix.curator.framework.recipes.queue
Interface QueueConsumer<T>

All Superinterfaces:
com.netflix.curator.framework.state.ConnectionStateListener
All Known Implementing Classes:
BlockingQueueConsumer

public interface QueueConsumer<T>
extends com.netflix.curator.framework.state.ConnectionStateListener

Message Consumer


Method Summary
 void consumeMessage(T message)
          Process a message from the queue
 
Methods inherited from interface com.netflix.curator.framework.state.ConnectionStateListener
stateChanged
 

Method Detail

consumeMessage

void consumeMessage(T message)
                    throws java.lang.Exception
Process a message from the queue

Parameters:
message - message to process
Throws:
java.lang.Exception - any errors