O
- The generic type of the unserialized value object.public class KVOC<O> extends KVOList<O>
KVOList
to provide handshaking with a KVOLatch
.
Note: IDuplicateRemover
s MUST create a list from the identified
duplicates so that the KVOLatch
of each duplicate as well as the
original are decremented after a successful write. Failure to do this will
cause a Latch.dec()
to be "lost" and generally results in
non-termination of Latch.await()
since the count for the "lost"
latch would never reach zero.
KVOList.Op<O>
Constructor and Description |
---|
KVOC(byte[] key,
byte[] val,
O obj,
KVOLatch latch) |
Modifier and Type | Method and Description |
---|---|
void |
done()
Extended to decrement the
KVOLatch . |
add, getDuplicateCount, isDuplicateListEmpty, map
public void done()
KVOLatch
. This inherits from
KVOList
, which maps KVOList.done()
over the list of
duplicates. This ensures that all latches are decremented once the
original value has been successfully written onto an index partition.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.