public interface MailAccessQueue extends java.util.Queue<PooledMailAccess>
Modifier and Type | Method and Description |
---|---|
int |
getCapacity()
Gets the capacity.
|
boolean |
isDeprecated()
Checks if this queue is marked as deprecated.
|
void |
markDeprecated()
Marks this queue as deprecated.
|
PooledMailAccess |
pollDelayed()
Retrieves and removes the head of this queue, or null if head has not expired, yet.
|
int getCapacity()
void markDeprecated()
boolean isDeprecated()
true
if this queue is marked as deprecated; otherwise false
PooledMailAccess pollDelayed()