|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ServiceConfigurationZNodeEnum>
com.bigdata.jini.start.ServiceConfigurationZNodeEnum
public enum ServiceConfigurationZNodeEnum
Type-safe enum classifying the different kinds of znodes for a
ServiceConfiguration.
| Enum Constant Summary | |
|---|---|
LogicalService
A logicalService. |
|
MasterElection
A container whose children are the physical services competing to become the master for a logical service. |
|
MasterElectionLock
An ephemeral znode representing one of the physical services competing to become the master for a logical service. |
|
PhysicalService
An ephemeral znode representing physical service instance. |
|
PhysicalServicesContainer
A container whose children are ephemeral znodes representing physical service instances. |
|
ServiceConfiguration
A ServiceConfiguration znode. |
|
| Method Summary | |
|---|---|
static ServiceConfigurationZNodeEnum |
getType(String serviceConfigZPath,
String zpath)
Given the zpath of a ServiceConfiguration znode and another
zpath, return the type of that other zpath. |
static ServiceConfigurationZNodeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceConfigurationZNodeEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ServiceConfigurationZNodeEnum ServiceConfiguration
ServiceConfiguration znode.
public static final ServiceConfigurationZNodeEnum LogicalService
public static final ServiceConfigurationZNodeEnum PhysicalServicesContainer
public static final ServiceConfigurationZNodeEnum MasterElection
public static final ServiceConfigurationZNodeEnum MasterElectionLock
public static final ServiceConfigurationZNodeEnum PhysicalService
| Method Detail |
|---|
public static ServiceConfigurationZNodeEnum[] values()
for (ServiceConfigurationZNodeEnum c : ServiceConfigurationZNodeEnum.values()) System.out.println(c);
public static ServiceConfigurationZNodeEnum valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
public static ServiceConfigurationZNodeEnum getType(String serviceConfigZPath,
String zpath)
ServiceConfiguration znode and another
zpath, return the type of that other zpath.
serviceConfigZPath - The zpath of the ServiceConfiguration znode.zpath - The other zpath.
RuntimeException - if the other zpath can not be classified.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||