public class ZookeeperLastPrimaryHandler extends Object
Constructor and Description |
---|
ZookeeperLastPrimaryHandler(SpaceImpl spaceImpl,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
String |
getAttributeStoreKey() |
String |
getLastPrimaryName() |
String |
getLastPrimaryNameMemoryXtend() |
static String |
getSeparator() |
boolean |
isLastPrimary() |
void |
removeLastPrimaryRecord() |
void |
setMeAsLastPrimary() |
static String |
toId(String instanceId,
String uid) |
static String |
toPath(String spaceName,
String partitionId) |
public void removeLastPrimaryRecord() throws IOException
IOException
public void setMeAsLastPrimary() throws IOException
IOException
public boolean isLastPrimary()
public String getLastPrimaryName() throws IOException
IOException
public String getLastPrimaryNameMemoryXtend() throws IOException
IOException
public String getAttributeStoreKey()
public static String getSeparator()
Copyright © GigaSpaces.