public class SocketInterceptorConfig extends Object
| Constructor and Description | 
|---|
SocketInterceptorConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
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()  | 
public String getClassName()
SocketInterceptor implementation class.SocketInterceptor implementation classpublic SocketInterceptorConfig setClassName(String className)
SocketInterceptor implementation classclassName - the name of the SocketInterceptor implementation class to setpublic SocketInterceptorConfig setImplementation(Object implementation)
SocketInterceptor implementation objectimplementation - the SocketInterceptor implementation object to setpublic Object getImplementation()
SocketInterceptor implementation objectSocketInterceptor implementation objectpublic boolean isEnabled()
public SocketInterceptorConfig setEnabled(boolean enabled)
enabled - true to enable, false to disablepublic 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.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.