Interface CacheQueue<T>
- All Known Implementing Classes:
HazelcastQueueAdapter,InMemoryCacheQueue,MVStoreCacheQueue
public interface CacheQueue<T>
-
Method Summary
-
Method Details
-
add
-
poll
T poll() -
pollBatch
-
size
int size() -
isEmpty
boolean isEmpty() -
clear
void clear() -
isPersistent
boolean isPersistent()Returns whether this queue persists data across restarts.- Returns:
- true if the queue is persistent, false if ephemeral
-
getName
String getName()Gets the name of this cache.- Returns:
- cache name
-