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