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 imagesTermBufferMaxLength,
boolean useSparseFiles,
org.agrona.concurrent.errors.DistinctErrorLog errorLog) |
| Modifier and Type | Method and Description |
|---|---|
RawLog |
newIpcPublication(int sessionId,
int streamId,
long correlationId,
int termBufferLength)
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)
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)
Create new
RawLog in the publications directory for the supplied triplet. |
public RawLogFactory(java.lang.String dataDirectoryName,
int imagesTermBufferMaxLength,
boolean useSparseFiles,
org.agrona.concurrent.errors.DistinctErrorLog errorLog)
public RawLog newNetworkPublication(java.lang.String channel, int sessionId, int streamId, long correlationId, int termBufferLength)
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 termRawLogpublic RawLog newNetworkedImage(java.lang.String channel, int sessionId, int streamId, long correlationId, int termBufferLength)
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 bufferRawLogpublic RawLog newIpcPublication(int sessionId, int streamId, long correlationId, int termBufferLength)
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 termRawLogCopyright © 2014-2017 Real Logic Ltd. All Rights Reserved.