public class ReplayParams extends Object
| Constructor and Description |
|---|
ReplayParams()
Default, initialise all values to "null"
|
| Modifier and Type | Method and Description |
|---|---|
int |
boundingLimitCounterId()
Gets the counterId specified for the bounding the replay.
|
ReplayParams |
boundingLimitCounterId(int boundingLimitCounterId)
Sets the counter id to be used for bounding the replay.
|
int |
fileIoMaxLength()
Gets the maximum length for file IO operations in the replay.
|
ReplayParams |
fileIoMaxLength(int fileIoMaxLength)
The maximum size of a file operation when reading from the archive to execute the replay.
|
boolean |
isBounded()
Determines if the parameter setup has requested a bounded replay.
|
long |
length()
Length of the recording to replay.
|
ReplayParams |
length(long length)
The length of the recorded stream to replay.
|
long |
position()
Position to start the replay at.
|
ReplayParams |
position(long position)
Set the position to start the replay.
|
ReplayParams |
reset()
reset all value to "null", allows for an instance to be reused
|
public ReplayParams reset()
public ReplayParams position(long position)
AeronArchive.NULL_POSITION (which is the default) then
the stream will be replayed from the start.position - to start the replay from.public long position()
position(long)public ReplayParams length(long length)
AeronArchive.NULL_POSITION (the default) will
replay a whole stream of unknown length. If set to Long.MAX_VALUE it will follow a live recording.length - of the recording to be replayed.public long length()
length(long)public ReplayParams boundingLimitCounterId(int boundingLimitCounterId)
boundingLimitCounterId - counter to use to bound the replaypublic int boundingLimitCounterId()
Aeron.NULL_VALUE if unspecified.public ReplayParams fileIoMaxLength(int fileIoMaxLength)
fileIoMaxLength - maximum length of a replay file operationpublic int fileIoMaxLength()
Aeron.NULL_VALUE if not
set, which will trigger the use of the Archive.Context default.public boolean isBounded()
Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.