Interface SessionReusable
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
HttpService
,OData
,WebService
- All Known Implementing Classes:
HttpServiceImpl
,ODataImpl
,SessionReusableImpl
,WebServiceImpl
public interface SessionReusable extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Session Reusable'.The following features are supported:
- See Also:
ModelPackage.getSessionReusable()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getMaxAge()
Returns the value of the 'Max Age' attribute.Integer
getPoolSize()
Returns the value of the 'Pool Size' attribute.Integer
getPoolTimeout()
Returns the value of the 'Pool Timeout' attribute.SessionReuseMode
getReuseSessions()
Returns the value of the 'Reuse Sessions' attribute.void
setMaxAge(Integer value)
Sets the value of the 'Max Age
' attribute.void
setPoolSize(Integer value)
Sets the value of the 'Pool Size
' attribute.void
setPoolTimeout(Integer value)
Sets the value of the 'Pool Timeout
' attribute.void
setReuseSessions(SessionReuseMode value)
Sets the value of the 'Reuse Sessions
' attribute.
-
-
-
Method Detail
-
getReuseSessions
SessionReuseMode getReuseSessions()
Returns the value of the 'Reuse Sessions' attribute. The default value is"autouse"
. The literals are from the enumerationSessionReuseMode
.- Returns:
- the value of the 'Reuse Sessions' attribute.
- See Also:
SessionReuseMode
,setReuseSessions(SessionReuseMode)
,ModelPackage.getSessionReusable_ReuseSessions()
-
setReuseSessions
void setReuseSessions(SessionReuseMode value)
Sets the value of the 'Reuse Sessions
' attribute.- Parameters:
value
- the new value of the 'Reuse Sessions' attribute.- See Also:
SessionReuseMode
,getReuseSessions()
-
getMaxAge
Integer getMaxAge()
Returns the value of the 'Max Age' attribute. The default value is"20"
.- Returns:
- the value of the 'Max Age' attribute.
- See Also:
setMaxAge(Integer)
,ModelPackage.getSessionReusable_MaxAge()
-
setMaxAge
void setMaxAge(Integer value)
Sets the value of the 'Max Age
' attribute.- Parameters:
value
- the new value of the 'Max Age' attribute.- See Also:
getMaxAge()
-
getPoolSize
Integer getPoolSize()
Returns the value of the 'Pool Size' attribute. The default value is"10"
.- Returns:
- the value of the 'Pool Size' attribute.
- See Also:
setPoolSize(Integer)
,ModelPackage.getSessionReusable_PoolSize()
-
setPoolSize
void setPoolSize(Integer value)
Sets the value of the 'Pool Size
' attribute.- Parameters:
value
- the new value of the 'Pool Size' attribute.- See Also:
getPoolSize()
-
getPoolTimeout
Integer getPoolTimeout()
Returns the value of the 'Pool Timeout' attribute. The default value is"5"
.- Returns:
- the value of the 'Pool Timeout' attribute.
- See Also:
setPoolTimeout(Integer)
,ModelPackage.getSessionReusable_PoolTimeout()
-
setPoolTimeout
void setPoolTimeout(Integer value)
Sets the value of the 'Pool Timeout
' attribute.- Parameters:
value
- the new value of the 'Pool Timeout' attribute.- See Also:
getPoolTimeout()
-
-