Interface Queue

All Superinterfaces:
org.mule.runtime.api.meta.NamedObject

@NoImplement public interface Queue extends org.mule.runtime.api.meta.NamedObject
Interface for mule queues used for VM.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Discards all the elements in the queue
    void
    Disposes this queue by releasing it's storage and associated memory and storage.
    boolean
    offer(Serializable object, long timeout)
    Puts an item to the queue, considering timeout on this operation.
     
    poll(long timeout)
    Takes an element from the queue, with a timeout on this operation.
    void
    put(Serializable object)
    Puts a new object in this queue and wait if necessary.
    int
     
    Blocks and retrieves an object from this queue.
    void
    Puts back an element in the queue, for example, after a rollback operation.

    Methods inherited from interface org.mule.runtime.api.meta.NamedObject

    getName