|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ConfigRefConstraint(message="{configref.invalid}",
payload=ConfigRefValidator.class)
public interface ClusterA cluster defines a homogeneous set of server instances that share the same applications, resources, and configuration.
| Nested Class Summary | |
|---|---|
static class |
Cluster.Decorator
|
static class |
Cluster.DeleteDecorator
|
static class |
Cluster.Duck
|
| Method Summary | |
|---|---|
void |
createResourceRef(String enabled,
String refName)
|
void |
deleteResourceRef(String refName)
|
ApplicationRef |
getApplicationRef(String appName)
|
String |
getBroadcast()
Gets the value of the broadcast property. |
String |
getConfigRef()
points to a named config. |
String |
getGmsBindInterfaceAddress()
Gets the value of the gmsBindInterfaceAddress property. |
String |
getGmsEnabled()
Gets the value of the gmsEnabled property. |
String |
getGmsMulticastAddress()
Gets the value of the gmsMulticastAddress property. |
String |
getGmsMulticastPort()
Gets the value of the gmsMulticastPort property. |
String |
getHeartbeatAddress()
Deprecated. |
String |
getHeartbeatEnabled()
Deprecated. |
String |
getHeartbeatPort()
Deprecated. |
List<Server> |
getInstances()
|
String |
getName()
|
List<org.jvnet.hk2.config.types.Property> |
getProperty()
Properties as per PropertyBag |
String |
getReference()
Returns the cluster configuration reference |
ResourceRef |
getResourceRef(String refName)
|
List<ServerRef> |
getServerRef()
Gets the value of the serverRef property. |
ServerRef |
getServerRefByRef(String ref)
|
List<SystemProperty> |
getSystemProperty()
Gets the value of the systemProperty property. |
boolean |
isCluster()
|
boolean |
isDas()
|
boolean |
isInstance()
|
boolean |
isResourceRefExists(String refName)
|
boolean |
isServer()
|
void |
setBroadcast(String value)
Sets the value of the broadcast property. |
void |
setConfigRef(String value)
Sets the value of the configRef property. |
void |
setGmsBindInterfaceAddress(String value)
Sets the value of the gmsBindInterfaceAddress property. |
void |
setGmsEnabled(String value)
Sets the value of the gmsEnabled property. |
void |
setGmsMulticastAddress(String value)
Sets the value of the gmsMulticastAddress property. |
void |
setGmsMulticastPort(String value)
Sets the value of the gmsMulticastPort property. |
void |
setHeartbeatAddress(String value)
Deprecated. |
void |
setHeartbeatEnabled(String value)
Deprecated. |
void |
setHeartbeatPort(String value)
Deprecated. |
void |
setName(String value)
Sets the cluster name |
| Methods inherited from interface org.jvnet.hk2.component.Injectable |
|---|
injectedInto |
| Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag |
|---|
getProperty, getPropertyValue, getPropertyValue |
| Methods inherited from interface com.sun.enterprise.config.serverbeans.SystemPropertyBag |
|---|
containsProperty, getPropertyValue, getSystemProperty, getSystemPropertyValue |
| Methods inherited from interface com.sun.enterprise.config.serverbeans.RefContainer |
|---|
getApplicationRef, getResourceRef |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
|---|
createChild, deepCopy, getParent, getParent |
| Method Detail |
|---|
void setName(String value)
throws PropertyVetoException
setName in interface Namedvalue - cluster name
PropertyVetoException - if a listener vetoes the change
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",
message="{cluster.invalid.name}",
payload=Cluster.class)
String getName()
getName in interface Named@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*") String getConfigRef()
void setConfigRef(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the change@NotNull String getGmsEnabled()
void setGmsEnabled(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the change@NotNull String getBroadcast()
void setBroadcast(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the change@Min(value=2048L) @Max(value=49151L) String getGmsMulticastPort()
String
void setGmsMulticastPort(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the changeString getGmsMulticastAddress()
String
void setGmsMulticastAddress(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the changeString getGmsBindInterfaceAddress()
String
void setGmsBindInterfaceAddress(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the change@Deprecated String getHeartbeatEnabled()
@Deprecated
void setHeartbeatEnabled(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the change@Deprecated String getHeartbeatPort()
String
@Deprecated
void setHeartbeatPort(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the change@Deprecated String getHeartbeatAddress()
String
@Deprecated
void setHeartbeatAddress(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the changeList<ServerRef> getServerRef()
ServerRef
@ToDo(priority=IMPORTANT,
details="Provide PropertyDesc for legal system props")
List<SystemProperty> getSystemProperty()
set method for the systemProperty property.
For example, to add a new item, do as follows:
getSystemProperty().add(newItem);
Objects of the following type(s) are allowed in the list
SystemProperty
getSystemProperty in interface SystemPropertyBag
@ToDo(priority=IMPORTANT,
details="Complete PropertyDesc for legal props")
@PropertiesDesc(props=@PropertyDesc(name="GMS_LISTENER_PORT",description="GMS listener port"))
List<org.jvnet.hk2.config.types.Property> getProperty()
PropertyBag
getProperty in interface org.jvnet.hk2.config.types.PropertyBag@DuckTyped String getReference()
getReference in interface ReferenceContainer@DuckTyped List<Server> getInstances()
@DuckTyped ServerRef getServerRefByRef(String ref)
@DuckTyped boolean isCluster()
isCluster in interface ReferenceContainer@DuckTyped boolean isServer()
isServer in interface ReferenceContainer@DuckTyped boolean isDas()
isDas in interface ReferenceContainer@DuckTyped boolean isInstance()
isInstance in interface ReferenceContainer@DuckTyped ApplicationRef getApplicationRef(String appName)
@DuckTyped ResourceRef getResourceRef(String refName)
@DuckTyped boolean isResourceRefExists(String refName)
@DuckTyped
void createResourceRef(String enabled,
String refName)
throws org.jvnet.hk2.config.TransactionFailure
org.jvnet.hk2.config.TransactionFailure
@DuckTyped
void deleteResourceRef(String refName)
throws org.jvnet.hk2.config.TransactionFailure
org.jvnet.hk2.config.TransactionFailure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||