Class 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.
    • Constructor Detail

      • ClusterPeerConfig

        public ClusterPeerConfig()
    • Method Detail

      • ValidateVersion

        public static void ValidateVersion()
      • getRootAsClusterPeerConfig

        public static ClusterPeerConfig getRootAsClusterPeerConfig​(java.nio.ByteBuffer _bb)
      • __init

        public void __init​(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)
      • 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)