public final class AeronUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CHANNEL_PREFIX |
| Constructor and Description |
|---|
AeronUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
byteBufferToString(ByteBuffer buffer) |
static String |
format(io.aeron.Publication publication)
Returns formatted publication.
|
static String |
format(String channel,
int streamId)
Returns formatted channel.
|
static String |
format(io.aeron.Subscription subscription)
Returns formatted subscription.
|
static String |
minifyChannel(String channel)
Returns channel w/o channel prefix.
|
static ByteBuffer |
stringToByteBuffer(String str) |
public static final String CHANNEL_PREFIX
public static String format(io.aeron.Publication publication)
publication - publicationpublic static String format(io.aeron.Subscription subscription)
subscription - subscriptionpublic static String format(String channel, int streamId)
channel - channelstreamId - stream idpublic static String minifyChannel(String channel)
channel - channelpublic static String byteBufferToString(ByteBuffer buffer)
public static ByteBuffer stringToByteBuffer(String str)
Copyright © 2015–2018. All rights reserved.