public class RawLogFactory
extends java.lang.Object
RawLog in the source publications or rebuilt publication images directories as appropriate.| Constructor and Description |
|---|
RawLogFactory(java.lang.String dataDirectoryName,
int publicationTermBufferLength,
int imagesTermBufferMaxLength,
int ipcPublicationTermBufferLength,
boolean useSparseFiles,
org.agrona.concurrent.errors.DistinctErrorLog errorLog) |
| Modifier and Type | Method and Description |
|---|---|
RawLog |
newDirectPublication(int sessionId,
int streamId,
long correlationId)
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)
Create new
RawLog in the publications directory for the supplied triplet. |
public RawLogFactory(java.lang.String dataDirectoryName,
int publicationTermBufferLength,
int imagesTermBufferMaxLength,
int ipcPublicationTermBufferLength,
boolean useSparseFiles,
org.agrona.concurrent.errors.DistinctErrorLog errorLog)
public RawLog newNetworkPublication(java.lang.String channel, int sessionId, int streamId, long correlationId)
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 publicationRawLogpublic 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 newDirectPublication(int sessionId, int streamId, long correlationId)
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 logRawLogCopyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.