|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.connection.Puddle
public class Puddle
A description of a puddle of IOM clusters. A puddle is an association of one or more IOM clusters with exactly one IOM login and, optionally, with a list of users allowed to use connections to this puddle of clusters.
Constructor Summary | |
---|---|
Puddle(Cluster[] clusters,
Credential serverCredential)
Construct a puddle of IOM server clusters. |
|
Puddle(Cluster cluster,
Credential serverCredential)
Construct a puddle with one IOM server cluster. |
|
Puddle(Server server,
Credential serverCredential)
Construct a puddle with one IOM server. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object that)
|
java.lang.String |
getClassID()
Get the classID of the clusters in this puddle. |
Cluster[] |
getClusterArray()
Get the server clusters. |
int |
getMinAvail()
Get the minimum number of idle connections. |
int |
getMinSize()
Get the minimum number of connections (idle or in use). |
java.lang.String |
getPuddleName()
Get a string that names the puddle. |
Credential |
getServerCredential()
Get the credential for the clusters. |
java.util.Set |
getUserCredentials()
Get the set of credentials representing users that are allowed to use this puddle. |
java.util.Set |
getUsers()
Get the set of users that are allowed to use this puddle. |
int |
hashCode()
|
void |
setClusterArray(Cluster[] clusterArray)
Set the server clusters. |
void |
setMinAvail(int minAvail)
Set the minimum number of idle connections. |
void |
setMinSize(int minSize)
Set the minimum number of connections (idle or in use). |
void |
setPuddleName(java.lang.String puddleName)
Set a string that names the puddle. |
void |
setServerCredential(Credential serverCredential)
Set the credential for the clusters. |
void |
setUserCredentials(java.util.Set userCredentials)
Set the set of credentials representing users that are allowed to use this puddle. |
void |
setUsers(java.util.Set users)
Set the set of users that are allowed to use this puddle. |
java.lang.String |
toString()
|
Constructor Detail |
---|
public Puddle(Server server, Credential serverCredential)
Puddle(new Cluster[]{new FailoverCluster(server)},serverCredential)
server
- the server in the puddleserverCredential
- the credential to use when connecting to the serverpublic Puddle(Cluster cluster, Credential serverCredential)
Puddle(new Cluster[]{cluster},credential)
cluster
- the server cluster in the puddleserverCredential
- the credential to use when connecting to a server in
the clusterpublic Puddle(Cluster[] clusters, Credential serverCredential)
clusters
- the server clusters in the puddleserverCredential
- the credential to use when connecting to a server in
one of the clustersMethod Detail |
---|
public void setClusterArray(Cluster[] clusterArray)
clusterArray
- the clusterspublic Cluster[] getClusterArray()
public void setServerCredential(Credential serverCredential)
serverCredential
- the credential for the clusterspublic Credential getServerCredential()
public void setMinSize(int minSize)
minSize
- the minimum number of connections (idle or in use)public int getMinSize()
public void setMinAvail(int minAvail)
minAvail
- the minimum number of idle connectionspublic int getMinAvail()
public void setUserCredentials(java.util.Set userCredentials)
userCredentials
- the set of credentials representing users
that are allowed to use this puddlepublic java.util.Set getUserCredentials()
getUsers()
return null
, then any
user will be allowed to use this puddle.
public void setUsers(java.util.Set users)
users
- the set of users that are allowed to use this puddlepublic java.util.Set getUsers()
getUserCredentials()
return null
, then any
user will be allowed to use this puddle.
public void setPuddleName(java.lang.String puddleName)
authentication/authorization
server
to determine if special authorization rules apply.
puddleName
- a string the names the puddlepublic java.lang.String getPuddleName()
authentication/authorization
server
to determine if special authorization rules apply. * @return a string the names the puddle
public java.lang.String getClassID()
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |