use of org.apache.ignite.internal.processors.datastructures.GridCacheQueueAdapter in project ignite by apache.
the class IgniteCollectionAbstractTest method getQueueCache.
/**
* @param queue Ignite queue.
* @return Cache configuration.
*/
protected CacheConfiguration getQueueCache(IgniteQueue queue) {
GridCacheQueueAdapter delegate = GridTestUtils.getFieldValue(queue, "delegate");
GridCacheAdapter cache = GridTestUtils.getFieldValue(delegate, GridCacheQueueAdapter.class, "cache");
return cache.configuration();
}
Aggregations