K- The generic type of the user-defined key.
public class KVOLatch extends Latch
KVOChas been successfully written onto an index by an asynchronous write operation. This class may also be used as a synchronization aid independent of a
Since it is possible that the counter could be transiently zero as chunks are
being added and drained concurrently, you MUST
counter before adding the first chunk and
counter after adding the last chunk. Threads may invoke
time after the counter has been incremented. They will not be released until
the counter is zero. If you have protected against transient zeros by
pre-incrementing the counter, the threads will not be released until the
asynchronous write operations are successfully completed.
The notification is based on
KVOC, which associates an atomic counter
and a user-defined key with each tuple. Notices are generated when the atomic
counter is zero on decrement. Notices are aligned with the appropriate scope
by creating an instance of the
KVOScope with that scope and then
pairing it with each
|Constructor and Description|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.