public class RegistryBasedResourceClaim extends Object
| Modifier and Type | Method and Description |
|---|---|
static RegistryBasedResourceClaim |
claim(Supplier<io.etcd.jetcd.Client> connectToEtcd,
int maxGeneratorCount,
String registryEntry) |
void |
close() |
int |
getClusterId() |
int |
getGeneratorId() |
String |
getRegistryEntry() |
public static RegistryBasedResourceClaim claim(Supplier<io.etcd.jetcd.Client> connectToEtcd, int maxGeneratorCount, String registryEntry) throws IOException
IOExceptionpublic int getClusterId()
public int getGeneratorId()
public void close()
public String getRegistryEntry()
Copyright © 2014–2021 Lable. All rights reserved.