+
+ /**
+ * Returns the RaftPolicy used to determine certain Raft behaviors.
+ *
+ * @return an instance of RaftPolicy, if set, or an instance of the DefaultRaftPolicy.
+ */
+ @Nonnull
+ RaftPolicy getRaftPolicy();
+
+ /**
+ * Returns the PeerAddressResolver.
+ *
+ * @return the PeerAddressResolver instance.
+ */
+ @Nonnull
+ PeerAddressResolver getPeerAddressResolver();
+
+ /**
+ * Returns the custom RaftPolicy class name.
+ *
+ * @return the RaftPolicy class name or null if none set.
+ */
+ String getCustomRaftPolicyImplementationClass();
+
+ /**
+ * Returns the directory in which to create temp files.
+ *
+ * @return the directory in which to create temp files.
+ */
+ @Nonnull
+ String getTempFileDirectory();
+
+ /**
+ * Returns the threshold in terms of number of bytes when streaming data before it should switch from storing in
+ * memory to buffering to a file.
+ *
+ * @return the threshold in terms of number of bytes.
+ */
+ int getFileBackedStreamingThreshold();