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 |
isAlive()
Gets the alive attribute of the ICacheEventQueue object.
|
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 attributeIOException
void addRemoveEvent(K key) throws IOException
key
- The feature to be added to the RemoveEvent attributeIOException
void addRemoveAllEvent() throws IOException
IOException
void addDisposeEvent() throws IOException
IOException
long getListenerId()
void destroy()
boolean isAlive()
boolean isWorking()
int size()
boolean isEmpty()
IStats getStatistics()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.