Class PendingFifoSearch

java.lang.Object
com.j_spaces.core.PendingFifoSearch

public class PendingFifoSearch extends Object
this class is used for fifo templates such object is created for a non-uid-based fifo templates in order to ensure that 1. while initial-scan searching the entries ignore ending transactions in order not to consider entries which are in the middle of transaction 2. reject entries which are not part of the initial-scan, they are kept in a TreeMap for processing after initial-scan is terminated
Since:
5.0
Author:
Yechiel Fefer
  • Constructor Details

    • PendingFifoSearch

      public PendingFifoSearch(boolean memorySpace)
  • Method Details

    • addRejectedEntry

      public void addRejectedEntry(IEntryHolder eh, FifoBackgroundRequest red)
    • anyRejectedEntries

      public boolean anyRejectedEntries()
    • getRejectedEntries

      public ArrayList<FifoBackgroundRequest> getRejectedEntries()
    • notifyNonActiveIfNeedTo

      public void notifyNonActiveIfNeedTo()
      notify (if requested) when the object is not active any more- i.e. not accumulating fifo events for the template
    • waitForNonActiveStatus

      public void waitForNonActiveStatus()
      wait for status to become non-active i.e. not accumulating fifo events for the template