Class LocalPrimaryShardFound
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.messages.LocalPrimaryShardFound
-
public class LocalPrimaryShardFound extends Object
Local message sent in reply to FindPrimaryShard to indicate the primary shard is local to the caller.- Author:
- Thomas Pantelis
-
-
Constructor Summary
Constructors Constructor Description LocalPrimaryShardFound(@NonNull String primaryPath, @NonNull ReadOnlyDataTree localShardDataTree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull ReadOnlyDataTree
getLocalShardDataTree()
@NonNull String
getPrimaryPath()
String
toString()
-
-
-
Constructor Detail
-
LocalPrimaryShardFound
public LocalPrimaryShardFound(@NonNull String primaryPath, @NonNull ReadOnlyDataTree localShardDataTree)
-
-
Method Detail
-
getPrimaryPath
public @NonNull String getPrimaryPath()
-
getLocalShardDataTree
public @NonNull ReadOnlyDataTree getLocalShardDataTree()
-
-