|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alachisoft.ncache.web.caching.CacheInitParams
public final class CacheInitParams
Constructor Summary | |
---|---|
CacheInitParams()
|
Method Summary | |
---|---|
boolean |
getClientCacheStatus()
Returns the current client Cache Enabled or disabled status |
int |
getClientRequestTimeOut()
Clients operation timeout specified in seconds. |
int |
getConnectionRetries()
Get Number of tries to re-establish a broken connection between client and server. |
int |
getConnectionTimeout()
Get Client's connection timeout specified in seconds. |
boolean |
getLoadBalance()
When this flag is set, client tries to connect to the optimum server in terms of number of connected clients. |
int |
getOperationTimeout()
gets operation Timeout value |
int |
getPort()
Gets the port on which the clients will connect to a server. |
SecurityParams |
getPrimaryUserCredentials()
Get the user-id and password for the primary cache user. |
int |
getRetryInterval()
gets interval value between retry connection |
SecurityParams |
getSecondaryUserCredentials()
Get the user-id and password for the secondary cache user. |
java.lang.String |
getServer()
|
void |
setClientRequestTimeOut(int opTimeout)
Clients operation timeout specified in seconds. |
void |
setConnectionRetries(int connectionRetries)
Set Number of tries to re-establish a broken connection between client and server. |
void |
setConnectionTimeout(int connectionTimeout)
Set Client's connection timeout specified in seconds. |
void |
setLoadBalance(boolean balanceNodes)
When this flag is set, client tries to connect to the optimum server in terms of number of connected clients. |
void |
setPort(int port)
Set the port on which the clients will connect to a server. |
void |
setPrimaryUserCredentials(SecurityParams primaryUserCredentials)
Set the user-id and password for the primary cache user. |
int |
setRetryInterval()
Get Time in seconds to wait between two connection retries. |
void |
setRetryInterval(int retryInterval)
Set Time in seconds to wait between two connection retries. |
void |
setSecondaryUserCredentials(SecurityParams secondaryUserCredentials)
Set the user-id and password for the secondary cache user. |
void |
setServer(java.lang.String server)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheInitParams()
Method Detail |
---|
public boolean getClientCacheStatus()
public int getClientRequestTimeOut()
public int getConnectionRetries()
public int getConnectionTimeout()
public boolean getLoadBalance()
public int getOperationTimeout()
public int getPort()
public SecurityParams getPrimaryUserCredentials()
public int getRetryInterval()
public SecurityParams getSecondaryUserCredentials()
public java.lang.String getServer()
public void setClientRequestTimeOut(int opTimeout)
opTimeout
- Client operation time out valuepublic void setConnectionRetries(int connectionRetries)
connectionRetries
- valuepublic void setConnectionTimeout(int connectionTimeout)
connectionTimeout
- valuepublic void setLoadBalance(boolean balanceNodes)
balanceNodes
- if true balance client tries to connect to the optimum serverpublic void setPort(int port)
port
- specify port numberpublic void setPrimaryUserCredentials(SecurityParams primaryUserCredentials)
primaryUserCredentials
- primary user's cache credentialspublic int setRetryInterval()
public void setRetryInterval(int retryInterval)
retryInterval
- valuepublic void setSecondaryUserCredentials(SecurityParams secondaryUserCredentials)
secondaryUserCredentials
- secondary user's credentialspublic void setServer(java.lang.String server)
server
- Sets the server clients will connect to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |