com.sleepycat.je.rep.vlsn
Class VLSNIndex.VLSNAwaitLatch
java.lang.Object
java.util.concurrent.CountDownLatch
com.sleepycat.je.rep.vlsn.VLSNIndex.VLSNAwaitLatch
- Enclosing class:
- VLSNIndex
public static class VLSNIndex.VLSNAwaitLatch
- extends CountDownLatch
Associates the logItem with the latch, so that it's readily available
when the latch is released.
VLSNIndex.VLSNAwaitLatch
public VLSNIndex.VLSNAwaitLatch()
getTriggerLSN
public long getTriggerLSN()
getTriggerVLSN
public VLSN getTriggerVLSN()
setLogItem
public void setLogItem(LogItem logItem)
getLogItem
public LogItem getLogItem()
- Returns the log item that caused the latch to be released. It's only
meaningful after the latch has been released.
- Returns:
- log item or null if the latch timed out or it's wait was
terminated
terminate
public void terminate()
isTerminated
public boolean isTerminated()
Copyright (c) 2004-2010 Oracle. All rights reserved.