Class PrimaryShardInfoFutureCache
java.lang.Object
org.opendaylight.controller.cluster.datastore.utils.PrimaryShardInfoFutureCache
Maintains a cache of PrimaryShardInfo Future instances per shard.
- Author:
- Thomas Pantelis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable scala.concurrent.Future
<PrimaryShardInfo> getIfPresent
(@NonNull String shardName) void
putSuccessful
(@NonNull String shardName, @NonNull PrimaryShardInfo info) void
-
Constructor Details
-
PrimaryShardInfoFutureCache
public PrimaryShardInfoFutureCache()
-
-
Method Details
-
getIfPresent
-
putSuccessful
-
remove
-