public final class NamespaceOptions extends Object implements Cloneable, Serializable
Additional options that can be specified when creating a namespace to customise its behaviour and available resources.
Constructor and Description |
---|
NamespaceOptions() |
Modifier and Type | Method and Description |
---|---|
NamespaceOptions |
clone() |
boolean |
equals(Object o) |
String |
getReplicatedStorageResource()
Get the name of the replicated storage resource.
|
int |
hashCode() |
boolean |
isWithSessionOwnershipFacility()
Get the flag indicating whether or not the namespace should include a session ownership facility.
|
void |
setReplicatedStorageResource(String replicatedStorageResource)
Set the name of the replicated storage resource.
|
void |
setWithSessionOwnershipFacility(boolean withSessionOwnershipFacility)
Set the flag indicating whether or not the namespace should include a session ownership facility.
|
String |
toString() |
public void setReplicatedStorageResource(String replicatedStorageResource)
Set the name of the replicated storage resource.
replicatedStorageResource
- the replicated storage resource name.public String getReplicatedStorageResource()
Get the name of the replicated storage resource.
public void setWithSessionOwnershipFacility(boolean withSessionOwnershipFacility)
Set the flag indicating whether or not the namespace should include a session ownership facility.
withSessionOwnershipFacility
- true
if the namespace should include a session ownership facility, false
otherwise.public boolean isWithSessionOwnershipFacility()
Get the flag indicating whether or not the namespace should include a session ownership facility.
true
if the namespace should include a session ownership facility, false
otherwise.public NamespaceOptions clone()