public interface ICacheEventQueue<K,V>
| Modifier and Type | Interface and Description |
|---|---|
static class |
ICacheEventQueue.QueueType |
| Modifier and Type | Method and Description |
|---|---|
void |
addDisposeEvent()
Adds a feature to the DisposeEvent attribute of the ICacheEventQueue
object
|
void |
addPutEvent(ICacheElement<K,V> ce)
Adds a feature to the PutEvent attribute of the ICacheEventQueue object
|
void |
addRemoveAllEvent()
Adds a feature to the RemoveAllEvent attribute of the ICacheEventQueue
object
|
void |
addRemoveEvent(K key)
Adds a feature to the RemoveEvent attribute of the ICacheEventQueue
object
|
void |
destroy()
Description of the Method
|
long |
getListenerId()
Gets the listenerId attribute of the ICacheEventQueue object
|
ICacheEventQueue.QueueType |
getQueueType()
Return the type of event queue we are using, either single or pooled.
|
IStats |
getStatistics()
Returns the historical and statistical data for an event queue cache.
|
boolean |
isEmpty()
Are there elements in the queue.
|
boolean |
isWorking()
A Queue is working unless it has reached its max failure count.
|
int |
size()
Returns the number of elements in the queue.
|
ICacheEventQueue.QueueType getQueueType()
void addPutEvent(ICacheElement<K,V> ce) throws IOException
ce - The feature to be added to the PutEvent attributeIOExceptionvoid addRemoveEvent(K key) throws IOException
key - The feature to be added to the RemoveEvent attributeIOExceptionvoid addRemoveAllEvent()
throws IOException
IOExceptionvoid addDisposeEvent()
throws IOException
IOExceptionlong getListenerId()
void destroy()
boolean isWorking()
int size()
boolean isEmpty()
IStats getStatistics()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.