public class TermUnblocker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TermUnblocker.Status |
Constructor and Description |
---|
TermUnblocker() |
Modifier and Type | Method and Description |
---|---|
static TermUnblocker.Status |
unblock(org.agrona.concurrent.UnsafeBuffer logMetaDataBuffer,
org.agrona.concurrent.UnsafeBuffer termBuffer,
int blockedOffset,
int tailOffset,
int termId)
Attempt to unblock the current term at the current offset.
|
public static TermUnblocker.Status unblock(org.agrona.concurrent.UnsafeBuffer logMetaDataBuffer, org.agrona.concurrent.UnsafeBuffer termBuffer, int blockedOffset, int tailOffset, int termId)
logMetaDataBuffer
- containing the default headerstermBuffer
- to unblockblockedOffset
- to unblock attailOffset
- to unblock up totermId
- for the current term.Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.