public class ClusteringUtils extends Object
| Constructor and Description |
|---|
ClusteringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.util.concurrent.ListenableFuture<Boolean> |
checkNodeEntityOwner(org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService,
org.opendaylight.controller.md.sal.common.api.clustering.Entity entity,
long sleepBetweenRetries,
int maxRetries) |
static com.google.common.util.concurrent.ListenableFuture<Boolean> |
checkNodeEntityOwner(org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService,
String entityType,
String nodeId) |
static com.google.common.util.concurrent.ListenableFuture<Boolean> |
checkNodeEntityOwner(org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService,
String entityType,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier nodeId) |
static Boolean |
isEntityOwner(org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService,
org.opendaylight.controller.md.sal.common.api.clustering.Entity entity,
long sleepBetweenRetries,
int retries) |
static void |
setDataStoreJobCoordinator(DataStoreJobCoordinator ds) |
public static void setDataStoreJobCoordinator(DataStoreJobCoordinator ds)
public static com.google.common.util.concurrent.ListenableFuture<Boolean> checkNodeEntityOwner(org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService, String entityType, String nodeId)
public static com.google.common.util.concurrent.ListenableFuture<Boolean> checkNodeEntityOwner(org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService, String entityType, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier nodeId)
public static com.google.common.util.concurrent.ListenableFuture<Boolean> checkNodeEntityOwner(org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService, org.opendaylight.controller.md.sal.common.api.clustering.Entity entity, long sleepBetweenRetries, int maxRetries)
public static Boolean isEntityOwner(org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService, org.opendaylight.controller.md.sal.common.api.clustering.Entity entity, long sleepBetweenRetries, int retries)
Copyright © 2018 OpenDaylight. All rights reserved.