public class Region extends GroupableConfiguration<RuntimeRegionInfo>
| Modifier and Type | Class and Description |
|---|---|
static class |
Region.Eviction |
static class |
Region.EvictionAction |
static class |
Region.EvictionType |
static class |
Region.Expiration |
static class |
Region.ExpirationAction |
static class |
Region.ExpirationType |
| Modifier and Type | Field and Description |
|---|---|
static String |
REGION_CONFIG_ENDPOINT |
static String |
SEPARATOR |
static char |
SEPARATOR_CHAR |
CLUSTER| Constructor and Description |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExpiry(Region.ExpirationType type,
Integer timeout,
Region.ExpirationAction action) |
boolean |
equals(Object o) |
String |
getDiskStoreName() |
Region.Eviction |
getEviction() |
List<Region.Expiration> |
getExpirations() |
String |
getId()
Returns
getName(). |
String |
getKeyConstraint() |
Links |
getLinks() |
String |
getName() |
Integer |
getRedundantCopies() |
RegionType |
getType() |
String |
getValueConstraint() |
int |
hashCode() |
boolean |
isGlobalRuntime()
Returns true if the RuntimeInfo will be the same on all members;
false if each member can have different RuntimeInfo.
|
void |
setDiskStoreName(String diskStoreName) |
void |
setEviction(Region.Eviction eviction) |
void |
setExpirations(List<Region.Expiration> expirations) |
void |
setKeyConstraint(String keyConstraint) |
void |
setName(String value) |
void |
setRedundantCopies(Integer redundantCopies) |
void |
setType(RegionType type) |
void |
setValueConstraint(String valueConstraint) |
String |
toString() |
getGroup, setGroupgetCreationCommandType, getGroupName, isClusterclone, finalize, getClass, notify, notifyAll, wait, wait, waitexists, find, removepublic static final String REGION_CONFIG_ENDPOINT
public static final String SEPARATOR
public static final char SEPARATOR_CHAR
public boolean isGlobalRuntime()
AbstractConfigurationisGlobalRuntime in class AbstractConfiguration<RuntimeRegionInfo>public Links getLinks()
getLinks in class AbstractConfiguration<RuntimeRegionInfo>public String getId()
getName().getId in interface Identifiable<String>getId in class AbstractConfiguration<RuntimeRegionInfo>public String getName()
public void setName(String value)
public RegionType getType()
public void setType(RegionType type)
public Integer getRedundantCopies()
public void setRedundantCopies(Integer redundantCopies)
public String getKeyConstraint()
public void setKeyConstraint(String keyConstraint)
public String getValueConstraint()
public void setValueConstraint(String valueConstraint)
public String getDiskStoreName()
public void setDiskStoreName(String diskStoreName)
public List<Region.Expiration> getExpirations()
public void setExpirations(List<Region.Expiration> expirations)
public Region.Eviction getEviction()
public void setEviction(Region.Eviction eviction)
public void addExpiry(Region.ExpirationType type, Integer timeout, Region.ExpirationAction action)
public boolean equals(Object o)
equals in class GroupableConfiguration<RuntimeRegionInfo>public int hashCode()
hashCode in class GroupableConfiguration<RuntimeRegionInfo>