Package io.objectbox.sync.server
Class ClusterPeerConfig
- java.lang.Object
-
- io.objectbox.flatbuffers.Table
-
- io.objectbox.sync.server.ClusterPeerConfig
-
public final class ClusterPeerConfig extends io.objectbox.flatbuffers.Table
Configuration to connect to another (remote) cluster peer. If this server is started in cluster mode, it connects to other cluster peers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterPeerConfig.Vector
-
Constructor Summary
Constructors Constructor Description ClusterPeerConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterPeerConfig
__assign(int _i, java.nio.ByteBuffer _bb)
void
__init(int _i, java.nio.ByteBuffer _bb)
static void
addCredentials(io.objectbox.flatbuffers.FlatBufferBuilder builder, int credentialsOffset)
static void
addUrl(io.objectbox.flatbuffers.FlatBufferBuilder builder, int urlOffset)
static int
createClusterPeerConfig(io.objectbox.flatbuffers.FlatBufferBuilder builder, int urlOffset, int credentialsOffset)
Credentials
credentials()
Credentials
credentials(Credentials obj)
static int
endClusterPeerConfig(io.objectbox.flatbuffers.FlatBufferBuilder builder)
static ClusterPeerConfig
getRootAsClusterPeerConfig(java.nio.ByteBuffer _bb)
static ClusterPeerConfig
getRootAsClusterPeerConfig(java.nio.ByteBuffer _bb, ClusterPeerConfig obj)
static void
startClusterPeerConfig(io.objectbox.flatbuffers.FlatBufferBuilder builder)
java.lang.String
url()
java.nio.ByteBuffer
urlAsByteBuffer()
java.nio.ByteBuffer
urlInByteBuffer(java.nio.ByteBuffer _bb)
static void
ValidateVersion()
-
Methods inherited from class io.objectbox.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
-
-
-
-
Method Detail
-
ValidateVersion
public static void ValidateVersion()
-
getRootAsClusterPeerConfig
public static ClusterPeerConfig getRootAsClusterPeerConfig(java.nio.ByteBuffer _bb)
-
getRootAsClusterPeerConfig
public static ClusterPeerConfig getRootAsClusterPeerConfig(java.nio.ByteBuffer _bb, ClusterPeerConfig obj)
-
__init
public void __init(int _i, java.nio.ByteBuffer _bb)
-
__assign
public ClusterPeerConfig __assign(int _i, java.nio.ByteBuffer _bb)
-
url
public java.lang.String url()
-
urlAsByteBuffer
public java.nio.ByteBuffer urlAsByteBuffer()
-
urlInByteBuffer
public java.nio.ByteBuffer urlInByteBuffer(java.nio.ByteBuffer _bb)
-
credentials
public Credentials credentials()
-
credentials
public Credentials credentials(Credentials obj)
-
createClusterPeerConfig
public static int createClusterPeerConfig(io.objectbox.flatbuffers.FlatBufferBuilder builder, int urlOffset, int credentialsOffset)
-
startClusterPeerConfig
public static void startClusterPeerConfig(io.objectbox.flatbuffers.FlatBufferBuilder builder)
-
addUrl
public static void addUrl(io.objectbox.flatbuffers.FlatBufferBuilder builder, int urlOffset)
-
addCredentials
public static void addCredentials(io.objectbox.flatbuffers.FlatBufferBuilder builder, int credentialsOffset)
-
endClusterPeerConfig
public static int endClusterPeerConfig(io.objectbox.flatbuffers.FlatBufferBuilder builder)
-
-