public class SocketInterceptorConfig extends Object
Constructor and Description |
---|
SocketInterceptorConfig() |
SocketInterceptorConfig(SocketInterceptorConfig socketInterceptorConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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.
|
int |
hashCode() |
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 SocketInterceptorConfig()
public SocketInterceptorConfig(SocketInterceptorConfig socketInterceptorConfig)
public String getClassName()
SocketInterceptor
implementation class.SocketInterceptor
implementation classpublic SocketInterceptorConfig setClassName(String className)
SocketInterceptor
implementation class.className
- the name of the SocketInterceptor
implementation class to setpublic SocketInterceptorConfig setImplementation(Object implementation)
SocketInterceptor
implementation object.implementation
- the SocketInterceptor
implementation object to setpublic Object getImplementation()
SocketInterceptor
implementation object.SocketInterceptor
implementation objectpublic boolean isEnabled()
true
if enabled, false
otherwisepublic SocketInterceptorConfig setEnabled(boolean enabled)
enabled
- true to enable, false to disablepublic SocketInterceptorConfig setProperty(String name, String value)
name
- the name of the property to setvalue
- the value of the property to setNullPointerException
- if name or value is null
public String getProperty(String name)
name
- the name of the property to getnull
if not foundNullPointerException
- if name is null
public Properties getProperties()
public SocketInterceptorConfig setProperties(Properties properties)
properties
- the properties to setIllegalArgumentException
- if properties is null
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.