Package com.smeup.jardis.endpoint
Class JardisServerConfiguration
- java.lang.Object
-
- com.smeup.jardis.core.JardisConfiguration
-
- com.smeup.jardis.endpoint.JardisServerConfiguration
-
public class JardisServerConfiguration extends com.smeup.jardis.core.JardisConfiguration- Author:
- lana
-
-
Field Summary
Fields Modifier and Type Field Description static intPORT_PROPERTY_DEFAULTstatic StringPORT_PROPERTY_NAMEstatic StringSHUTDOWN_PASSWORD_PROPERTY_DEFAULTstatic StringSHUTDOWN_PASSWORD_PROPERTY_NAMEstatic intSHUTDOWN_PORT_PROPERTY_DEFAULTstatic StringSHUTDOWN_PORT_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description JardisServerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBacklog()intgetMaxThreads()intgetPort()StringgetShutdownPassword()intgetShutdownPort()voidsetBacklog(int backlog)voidsetMaxThreads(int maxThreads)voidsetPort(int port)voidsetShutdownPassword(String shutdownPassword)voidsetShutdownPort(int shutdownPort)
-
-
-
Field Detail
-
PORT_PROPERTY_NAME
public static final String PORT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
PORT_PROPERTY_DEFAULT
public static final int PORT_PROPERTY_DEFAULT
- See Also:
- Constant Field Values
-
SHUTDOWN_PORT_PROPERTY_NAME
public static final String SHUTDOWN_PORT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
SHUTDOWN_PORT_PROPERTY_DEFAULT
public static final int SHUTDOWN_PORT_PROPERTY_DEFAULT
- See Also:
- Constant Field Values
-
SHUTDOWN_PASSWORD_PROPERTY_NAME
public static final String SHUTDOWN_PASSWORD_PROPERTY_NAME
- See Also:
- Constant Field Values
-
SHUTDOWN_PASSWORD_PROPERTY_DEFAULT
public static final String SHUTDOWN_PASSWORD_PROPERTY_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPort
public int getPort()
-
setPort
public void setPort(int port)
-
getShutdownPort
public int getShutdownPort()
-
setShutdownPort
public void setShutdownPort(int shutdownPort)
-
getShutdownPassword
public String getShutdownPassword()
-
setShutdownPassword
public void setShutdownPassword(String shutdownPassword)
-
getBacklog
public int getBacklog()
-
setBacklog
public void setBacklog(int backlog)
-
getMaxThreads
public int getMaxThreads()
-
setMaxThreads
public void setMaxThreads(int maxThreads)
-
-