import akka.actor.ActorSelection;
import akka.actor.ActorSystem;
import akka.actor.Props;
+import akka.cluster.Cluster;
import com.google.common.annotations.VisibleForTesting;
import java.util.Collection;
+import java.util.Optional;
import java.util.function.LongSupplier;
import javax.annotation.Nullable;
import org.opendaylight.controller.cluster.DataPersistenceProvider;
*/
ActorRef getActor();
+ /**
+ * The akka Cluster singleton for the actor system if one is configured.
+ *
+ * @return an Optional containing the CLuster instance is present.
+ */
+ Optional<Cluster> getCluster();
+
/**
* @return the ElectionTerm information
*/