public final class ReplicationChannel extends Object implements Serializable
ReplicationHub.createChannel(int)
call and passed to ChronicleHashInstanceBuilder.replicatedViaChannel(ReplicationChannel)
method, to establish a channel
replication. See
the corresponding section in ChronicleMap manual for more information.
A ReplicationChannel
could be used to replicate only one ChronicleHash
instance.
Modifier and Type | Method and Description |
---|---|
int |
channelId()
Returns the identifier of this channel, with which was created.
|
ReplicationHub |
hub()
|
@NotNull public ReplicationHub hub()
ReplicationHub
to which this ReplicationChannel
belongsReplicationHub.createChannel(int)
public int channelId()
ReplicationHub.createChannel(int)
Copyright © 2015. All rights reserved.