ClusterKey - See ResourceClusters.PoolKey - See ResourceClusters.public interface ResourceKey<ClusterKey,PoolKey>
There are two keys depending if you need clustering or just a single resource pool.
ResourceKey.ResourceClusterAndPoolKey: Can be used to register and claim resources with clustering.ResourceKey.ResourcePoolKey: Can be used to register and claim resources without clustering.
Technically a cluster of one, where the key functions as both the cluster and resource pool key.| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceKey.ResourceClusterAndPoolKey<ClusterKey,PoolKey>
Can be used to register and claim resources with clustering.
|
static class |
ResourceKey.ResourcePoolKey<PoolKey>
Can be used to register and claim resources without clustering.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterKey |
getClusterKey() |
PoolKey |
getPoolKey() |
ClusterKey getClusterKey()
PoolKey getPoolKey()
Copyright © 2019–2024. All rights reserved.