Class ReuseSessions
- java.lang.Object
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.config.ReuseSessions
-
public class ReuseSessions extends Object
Class to parse the part of infobase configuration file into an object.
-
-
Constructor Summary
Constructors Constructor Description ReuseSessions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReuseSessions
copy()
Creates a copy of the instance.boolean
equals(Object obj)
int
getMaxAge()
int
getMaxSize()
String
getMode()
int
getTimeout()
int
hashCode()
void
setMaxAge(int maxAge)
Set maxAgevoid
setMaxSize(int maxSize)
Set maxSizevoid
setMode(String mode)
Set modevoid
setTimeout(int timeout)
Set timeout
-
-
-
Field Detail
-
AUTO_USE
public static final String AUTO_USE
- See Also:
- Constant Field Values
-
DONT_USE
public static final String DONT_USE
- See Also:
- Constant Field Values
-
USE
public static final String USE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMode
public String getMode()
- Returns:
- mode, never
null
-
copy
public ReuseSessions copy()
Creates a copy of the instance.- Returns:
- the copy instance, never
null
-
setMode
public void setMode(String mode)
Set mode- Parameters:
mode
- to set, cannot benull
-
getMaxAge
public int getMaxAge()
- Returns:
- maxAge, never
null
-
setMaxAge
public void setMaxAge(int maxAge)
Set maxAge- Parameters:
maxAge
- to set, cannot benull
-
getMaxSize
public int getMaxSize()
- Returns:
- maxSize, never
null
-
setMaxSize
public void setMaxSize(int maxSize)
Set maxSize- Parameters:
maxSize
- to set, cannot benull
-
getTimeout
public int getTimeout()
- Returns:
- timeout, never
null
-
setTimeout
public void setTimeout(int timeout)
Set timeout- Parameters:
timeout
- to set, cannot benull
-
-