Interface Pool
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
PoolImpl
public interface Pool extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Pool'.The following features are supported:
- See Also:
ModelPackage.getPool()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAttempts()
Returns the value of the 'Attempts' attribute.int
getAttemptTimeout()
Returns the value of the 'Attempt Timeout' attribute.int
getMaxAge()
Returns the value of the 'Max Age' attribute.int
getServerPingPeriod()
Returns the value of the 'Server Ping Period' attribute.int
getServerPingTimeout()
Returns the value of the 'Server Ping Timeout' attribute.int
getSize()
Returns the value of the 'Size' attribute.int
getWaitTimeout()
Returns the value of the 'Wait Timeout' attribute.void
setAttempts(int value)
Sets the value of the 'Attempts
' attribute.void
setAttemptTimeout(int value)
Sets the value of the 'Attempt Timeout
' attribute.void
setMaxAge(int value)
Sets the value of the 'Max Age
' attribute.void
setServerPingPeriod(int value)
Sets the value of the 'Server Ping Period
' attribute.void
setServerPingTimeout(int value)
Sets the value of the 'Server Ping Timeout
' attribute.void
setSize(int value)
Sets the value of the 'Size
' attribute.void
setWaitTimeout(int value)
Sets the value of the 'Wait Timeout
' attribute.
-
-
-
Method Detail
-
getSize
int getSize()
Returns the value of the 'Size' attribute. The default value is"100"
.- Returns:
- the value of the 'Size' attribute.
- See Also:
setSize(int)
,ModelPackage.getPool_Size()
-
setSize
void setSize(int value)
Sets the value of the 'Size
' attribute.- Parameters:
value
- the new value of the 'Size' attribute.- See Also:
getSize()
-
getMaxAge
int getMaxAge()
Returns the value of the 'Max Age' attribute. The default value is"20000"
.- Returns:
- the value of the 'Max Age' attribute.
- See Also:
setMaxAge(int)
,ModelPackage.getPool_MaxAge()
-
setMaxAge
void setMaxAge(int value)
Sets the value of the 'Max Age
' attribute.- Parameters:
value
- the new value of the 'Max Age' attribute.- See Also:
getMaxAge()
-
getAttempts
int getAttempts()
Returns the value of the 'Attempts' attribute. The default value is"5"
.- Returns:
- the value of the 'Attempts' attribute.
- See Also:
setAttempts(int)
,ModelPackage.getPool_Attempts()
-
setAttempts
void setAttempts(int value)
Sets the value of the 'Attempts
' attribute.- Parameters:
value
- the new value of the 'Attempts' attribute.- See Also:
getAttempts()
-
getAttemptTimeout
int getAttemptTimeout()
Returns the value of the 'Attempt Timeout' attribute. The default value is"500"
.- Returns:
- the value of the 'Attempt Timeout' attribute.
- See Also:
setAttemptTimeout(int)
,ModelPackage.getPool_AttemptTimeout()
-
setAttemptTimeout
void setAttemptTimeout(int value)
Sets the value of the 'Attempt Timeout
' attribute.- Parameters:
value
- the new value of the 'Attempt Timeout' attribute.- See Also:
getAttemptTimeout()
-
getWaitTimeout
int getWaitTimeout()
Returns the value of the 'Wait Timeout' attribute. The default value is"500"
.- Returns:
- the value of the 'Wait Timeout' attribute.
- See Also:
setWaitTimeout(int)
,ModelPackage.getPool_WaitTimeout()
-
setWaitTimeout
void setWaitTimeout(int value)
Sets the value of the 'Wait Timeout
' attribute.- Parameters:
value
- the new value of the 'Wait Timeout' attribute.- See Also:
getWaitTimeout()
-
getServerPingTimeout
int getServerPingTimeout()
Returns the value of the 'Server Ping Timeout' attribute. The default value is"5000"
.- Returns:
- the value of the 'Server Ping Timeout' attribute.
- See Also:
setServerPingTimeout(int)
,ModelPackage.getPool_ServerPingTimeout()
-
setServerPingTimeout
void setServerPingTimeout(int value)
Sets the value of the 'Server Ping Timeout
' attribute.- Parameters:
value
- the new value of the 'Server Ping Timeout' attribute.- See Also:
getServerPingTimeout()
-
getServerPingPeriod
int getServerPingPeriod()
Returns the value of the 'Server Ping Period' attribute. The default value is"100"
.- Returns:
- the value of the 'Server Ping Period' attribute.
- See Also:
setServerPingPeriod(int)
,ModelPackage.getPool_ServerPingPeriod()
-
setServerPingPeriod
void setServerPingPeriod(int value)
Sets the value of the 'Server Ping Period
' attribute.- Parameters:
value
- the new value of the 'Server Ping Period' attribute.- See Also:
getServerPingPeriod()
-
-