public class RawLogFactory
extends java.lang.Object
RawLogs in the source publications or publication images directories as appropriate.| Constructor and Description |
|---|
RawLogFactory(java.lang.String dataDirectoryName,
int filePageSize,
boolean checkStorage,
org.agrona.ErrorHandler errorHandler) |
| Modifier and Type | Method and Description |
|---|---|
RawLog |
newIpcPublication(int sessionId,
int streamId,
long correlationId,
int termBufferLength,
boolean useSparseFiles)
Create a new
RawLog in the publication directory for the supplied parameters. |
RawLog |
newNetworkedImage(java.lang.String channel,
int sessionId,
int streamId,
long correlationId,
int termBufferLength,
boolean useSparseFiles)
Create new
RawLog in the rebuilt publication images directory for the supplied triplet. |
RawLog |
newNetworkPublication(java.lang.String channel,
int sessionId,
int streamId,
long correlationId,
int termBufferLength,
boolean useSparseFiles)
Create new
RawLog in the publications directory for the supplied triplet. |
public RawLogFactory(java.lang.String dataDirectoryName,
int filePageSize,
boolean checkStorage,
org.agrona.ErrorHandler errorHandler)
public RawLog newNetworkPublication(java.lang.String channel, int sessionId, int streamId, long correlationId, int termBufferLength, boolean useSparseFiles)
RawLog in the publications directory for the supplied triplet.channel - address on the media to send to.sessionId - under which transmissions are made.streamId - within the channel address to separate message flows.correlationId - to use to distinguish this publicationtermBufferLength - length of each termuseSparseFiles - for the log buffer.RawLogpublic RawLog newNetworkedImage(java.lang.String channel, int sessionId, int streamId, long correlationId, int termBufferLength, boolean useSparseFiles)
RawLog in the rebuilt publication images directory for the supplied triplet.channel - address on the media to listened to.sessionId - under which transmissions are made.streamId - within the channel address to separate message flows.correlationId - to use to distinguish this connectiontermBufferLength - to use for the log bufferuseSparseFiles - for the log buffer.RawLogpublic RawLog newIpcPublication(int sessionId, int streamId, long correlationId, int termBufferLength, boolean useSparseFiles)
RawLog in the publication directory for the supplied parameters.sessionId - under which publications are made.streamId - within the IPC channelcorrelationId - to use to distinguish this shared logtermBufferLength - length of the each termuseSparseFiles - for the log buffer.RawLogCopyright © 2014-2018 Real Logic Ltd. All Rights Reserved.