public final class RouteTableValidation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RouteTableValidation.Filter |
| Constructor and Description |
|---|
RouteTableValidation() |
| Modifier and Type | Method and Description |
|---|---|
static String |
validateRouteTable(String bootstrap,
String objectGridName,
RouteTableValidation.Filter filter,
ClientSecurityConfiguration securityConfig)
Deprecated.
|
static TabularData |
validateRouteTable(String bootstrap,
String objectGridName,
String mapSetName,
RouteTableValidation.Filter filter,
ClientSecurityConfiguration securityConfig)
Retrieves the route table for
objectGridName from bootstrap but only validates the shards that match the
filter. |
@Deprecated public static String validateRouteTable(String bootstrap, String objectGridName, RouteTableValidation.Filter filter, ClientSecurityConfiguration securityConfig)
objectGridName from bootstrap but only validates the shards that match the
filter. Use the reachable attribute below to filter valid or invalid shards. The format of the XML is as follows:
<objectGrid name="<objectgrid>" name="<name>">
<primary zone="<zone>"> partition="<partition>"> state="<reachable>"> ipaddress="<ipaddress>">
<replica zone="<zone>"> partition="<partition>"> state="<reachable>"> ipaddress="<ipaddress>">
</primary>
</objectGrid>
bootstrap - The ORB bootstrap address of the catalog service. This may be a single address or compound address (host:port[,host:port]). Must not
be null.objectGridName - The name of the grid to validate the route information for. May not be null.filter - The filters to apply, null indicates no filtering.securityConfig - The security properties used to connect to a secure catalog service, null indicates no security.public static TabularData validateRouteTable(String bootstrap, String objectGridName, String mapSetName, RouteTableValidation.Filter filter, ClientSecurityConfiguration securityConfig)
objectGridName from bootstrap but only validates the shards that match the
filter. Use the reachable attribute to filter valid or invalid shards. The validated route table is returned as TabularData, where each CompositeData (row in the TabularData) contains the following items:
| Item Name | Type | Description | Since |
| State | String | State of shard. States include reachable, unreachable, and invalid | 8.5 |
| HostName | String | The host name of the machine where the shard resides | 8.5 |
| Domain | String | Domain name of the shard | 8.6 |
| ObjectGrid | String | ObjectGrid name of the shard | 8.5 |
| MapSet | String | Map set name of the shard | 8.5 |
| ZoneName | String | Zone name of the shard | 8.5 |
| ShardType | String | The shard type. Types include Primary, SynchronousReplica, and AsynchronousReplica | 8.5 |
| Partition | String | Partition name of the shard. | 8.5 |
| ContainerName | String | The name of the container where the shard resides | 8.6 |
| PlacementScope | String | The Placement Scope of the shard. Placement scopes include Domain and Container. | 8.6 |
bootstrap - The bootstrap address of the catalog service. This may be a single address or compound address (host:port[,host:port]). Must not
be null.objectGridName - The name of the grid to validate the route information for. May not be null.mapSetName - The name of the map set to validate the route information for. May be null to return all map sets for a gridfilter - The filters to apply, null indicates no filtering.securityConfig - The security properties used to connect to a secure catalog service, null indicates no security.