Package com.hazelcast.config
Class UserCodeNamespacesConfig
java.lang.Object
com.hazelcast.config.UserCodeNamespacesConfig
Serves as the configuration container for all aspects of Namespaces, used in User Code Deployment.
Individual Namespaces are defined within
UserCodeNamespaceConfig
, and a class filtering config
can optionally be provided with an implementation of JavaSerializationFilterConfig
.- Since:
- 5.4
-
Constructor Summary
ConstructorDescriptionUserCodeNamespacesConfig
(boolean enabled, Map<String, UserCodeNamespaceConfig> namespaceConfigs) -
Method Summary
Modifier and TypeMethodDescriptionaddNamespaceConfig
(UserCodeNamespaceConfig userCodeNamespaceConfig) Adds the specifiednamespaceConfig
, replacing any existingUserCodeNamespaceConfig
with the samename
.protected void
addNamespaceConfigLocally
(UserCodeNamespaceConfig userCodeNamespaceConfig) Adds the specifiednamespaceConfig
, replacing any existingUserCodeNamespaceConfig
with the samename
.boolean
int
hashCode()
boolean
removeNamespaceConfig
(String namespace) void
setClassFilterConfig
(JavaSerializationFilterConfig javaSerializationFilterConfig) setEnabled
(boolean enabled) toString()
-
Constructor Details
-
UserCodeNamespacesConfig
public UserCodeNamespacesConfig() -
UserCodeNamespacesConfig
-
UserCodeNamespacesConfig
public UserCodeNamespacesConfig(boolean enabled, Map<String, UserCodeNamespaceConfig> namespaceConfigs)
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
-
addNamespaceConfig
Adds the specifiednamespaceConfig
, replacing any existingUserCodeNamespaceConfig
with the samename
. -
addNamespaceConfigLocally
Adds the specifiednamespaceConfig
, replacing any existingUserCodeNamespaceConfig
with the samename
. ThenamespaceConfig
is not broadcast to cluster members. -
removeNamespaceConfig
-
getClassFilterConfig
-
setClassFilterConfig
public void setClassFilterConfig(@Nullable JavaSerializationFilterConfig javaSerializationFilterConfig) -
toString
-
equals
-
hashCode
public int hashCode()
-