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.
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.