public class AsyncEventQueueHelper extends Object
| Constructor and Description |
|---|
AsyncEventQueueHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
asyncEventQueueToString(com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue aeq)
Returns the given async event queue as a string.
|
static com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue |
createAndStartAsyncEventQueue(String asyncEventQueueConfig)
Creates and starts an async event queue in the current cache.
|
static com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue |
getAsyncEventQueue(String queueID)
Returns the async event queue for the current cache matching the given
async event queue id, or null if no matching id exists.
|
static AsyncEventQueueDescription |
getAsyncEventQueueDescription(String asyncEventQueueConfig)
Returns the
AsyncEventQueueDescription with the given configuration
name from AsyncEventQueuePrms.names. |
static Set<com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue> |
getAsyncEventQueues()
Returns the async event queues for the current cache, or null if no async
event queues or cache exists.
|
public static com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue createAndStartAsyncEventQueue(String asyncEventQueueConfig)
AsyncEventQueueDescription corresponding to
the given configuration from AsyncEventQueuePrms.names. The id for
the queue is the same as the queue configuration name.
This method is thread-safe. The async event queues for a given logical queue configuration will only be created once.
HydraRuntimeException - if an attempt is made to reconfigure an
existing async event queue.public static Set<com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue> getAsyncEventQueues()
public static com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue getAsyncEventQueue(String queueID)
public static String asyncEventQueueToString(com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue aeq)
public static AsyncEventQueueDescription getAsyncEventQueueDescription(String asyncEventQueueConfig)
AsyncEventQueueDescription with the given configuration
name from AsyncEventQueuePrms.names.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.