Package com.j_spaces.core
Class PendingFifoSearch
java.lang.Object
com.j_spaces.core.PendingFifoSearch
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanvoidnotify (if requested) when the object is not active any more- i.e.voidwait for status to become non-active i.e.
-
Constructor Details
-
PendingFifoSearch
public PendingFifoSearch(boolean memorySpace)
-
-
Method Details
-
addRejectedEntry
-
anyRejectedEntries
public boolean anyRejectedEntries() -
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
-