org.mule.util.queue
Interface QueueStore

All Known Subinterfaces:
RecoverableQueueStore
All Known Implementing Classes:
DefaultQueueStore

public interface QueueStore

Internal queue interface that hold queue configuration that will execute operations directly to the queue storage. Stores information about a Queue.


Method Summary
 void clear()
           
 void close()
           
 void dispose()
           
 int getCapacity()
           
 String getName()
           
 int getSize()
           
 boolean isPersistent()
           
 boolean offer(Serializable o, int room, long timeout)
           
 Serializable peek()
           
 Serializable poll(long timeout)
           
 void putNow(Serializable o)
           
 void untake(Serializable item)
           
 

Method Detail

getName

String getName()

putNow

void putNow(Serializable o)
            throws InterruptedException
Throws:
InterruptedException

offer

boolean offer(Serializable o,
              int room,
              long timeout)
              throws InterruptedException
Throws:
InterruptedException

poll

Serializable poll(long timeout)
                  throws InterruptedException
Throws:
InterruptedException

peek

Serializable peek()
                  throws InterruptedException
Throws:
InterruptedException

untake

void untake(Serializable item)
            throws InterruptedException
Throws:
InterruptedException

getSize

int getSize()

clear

void clear()
           throws InterruptedException
Throws:
InterruptedException

dispose

void dispose()

getCapacity

int getCapacity()

close

void close()

isPersistent

boolean isPersistent()


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.