Package bdv.cache

Class SharedQueue

    • Constructor Detail

      • SharedQueue

        public SharedQueue​(int numFetcherThreads,
                           int numPriorities)
      • SharedQueue

        public SharedQueue​(int numFetcherThreads)
    • Method Detail

      • shutdown

        public void shutdown()
      • prepareNextFrame

        public void prepareNextFrame()
        Description copied from interface: CacheControl
        Prepare 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:
        prepareNextFrame in interface CacheControl