public class LogBufferUnblocker
extends java.lang.Object
Constructor and Description |
---|
LogBufferUnblocker() |
Modifier and Type | Method and Description |
---|---|
static boolean |
unblock(org.agrona.concurrent.UnsafeBuffer[] termBuffers,
org.agrona.concurrent.UnsafeBuffer logMetaDataBuffer,
long blockedPosition,
int termLength)
Attempt to unblock a log buffer at given position
|
public static boolean unblock(org.agrona.concurrent.UnsafeBuffer[] termBuffers, org.agrona.concurrent.UnsafeBuffer logMetaDataBuffer, long blockedPosition, int termLength)
termBuffers
- for current blockedOffsetlogMetaDataBuffer
- for log bufferblockedPosition
- to attempt to unblocktermLength
- of the buffer for each term in the logCopyright © 2014-2018 Real Logic Ltd. All Rights Reserved.