|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.config.SocketInterceptorConfig
public class SocketInterceptorConfig
Contains the configuration for interceptor socket
Constructor Summary | |
---|---|
SocketInterceptorConfig()
|
Method Summary | |
---|---|
String |
getClassName()
Returns the name of the SocketInterceptor implementation class |
Object |
getImplementation()
Returns the SocketInterceptor implementation object |
Properties |
getProperties()
Gets all properties. |
String |
getProperty(String name)
Gets a property. |
boolean |
isEnabled()
Returns if this configuration is enabled |
SocketInterceptorConfig |
setClassName(String className)
Sets the name for the SocketInterceptor implementation class |
SocketInterceptorConfig |
setEnabled(boolean enabled)
Enables and disables this configuration |
SocketInterceptorConfig |
setImplementation(Object implementation)
Sets the SocketInterceptor implementation object |
SocketInterceptorConfig |
setProperties(Properties properties)
Sets the properties. |
SocketInterceptorConfig |
setProperty(String name,
String value)
Sets a property. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SocketInterceptorConfig()
Method Detail |
---|
public String getClassName()
SocketInterceptor
implementation class
public SocketInterceptorConfig setClassName(String className)
SocketInterceptor
implementation class
className
- the name of the SocketInterceptor
implementation class to set
public SocketInterceptorConfig setImplementation(Object implementation)
SocketInterceptor
implementation object
implementation
- implementation object
public Object getImplementation()
SocketInterceptor
implementation object
public boolean isEnabled()
public SocketInterceptorConfig setEnabled(boolean enabled)
enabled
- public SocketInterceptorConfig setProperty(String name, String value)
name
- the name of the property to set.value
- the value of the property to set
NullPointerException
- if name or value is null.public String getProperty(String name)
name
- the name of the property to get.
NullPointerException
- if name is null.public Properties getProperties()
public SocketInterceptorConfig setProperties(Properties properties)
properties
- the properties to set.
IllegalArgumentException
- if properties is null.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |