- java.lang.Object
-
- net.imglib2.cache.queue.BlockingFetchQueues<Callable<?>>
-
- bdv.cache.SharedQueue
-
- All Implemented Interfaces:
CacheControl
- Direct Known Subclasses:
SharedQueue
public class SharedQueue extends net.imglib2.cache.queue.BlockingFetchQueues<Callable<?>> implements CacheControl
Queue and threads for asynchronously loading data into a cache- Author:
- Tobias Pietzsch
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface bdv.cache.CacheControl
CacheControl.CacheControls, CacheControl.Dummy
-
-
Constructor Summary
Constructors Constructor Description SharedQueue(int numFetcherThreads)SharedQueue(int numFetcherThreads, int numPriorities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprepareNextFrame()Prepare the cache for providing data for the "next frame".voidshutdown()-
Methods inherited from class net.imglib2.cache.queue.BlockingFetchQueues
clear, clearToPrefetch, ensureNumPriorities, getCurrentFrame, getNumPriorities, pause, put, put_unsafe, resume, take
-
-
-
-
Method Detail
-
shutdown
public void shutdown()
-
prepareNextFrame
public void prepareNextFrame()
Description copied from interface:CacheControlPrepare the cache for providing data for the "next frame".For the
VolatileGlobalCellCache, this means that- the contents of fetch queues is moved to the prefetch. and
- the internal frame counter is incremented, which will enable previously enqueued requests to be enqueued again for the new frame.
- Specified by:
prepareNextFramein interfaceCacheControl
-
-