Package com.hazelcast.client.config
Class ClientUserCodeDeploymentConfig
java.lang.Object
com.hazelcast.client.config.ClientUserCodeDeploymentConfig
@Deprecated(since="5.4",
forRemoval=true)
public class ClientUserCodeDeploymentConfig
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 5.4, "User Code Deployment" is replaced by the "User Code Namespaces" feature
Configuration of User Code Deployment.
When enabled client sends configured classes to cluster.
This simplifies deployment as you do not have to deploy your domain classes into classpath of all
cluster members.
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.ClientUserCodeDeploymentConfig
(ClientUserCodeDeploymentConfig userCodeDeploymentConfig) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.String jarPath is searched in following order: 1.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.setClassNames
(List<String> classNames) Deprecated, for removal: This API element is subject to removal in a future version.setEnabled
(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.setJarPaths
(List<String> jarPaths) Deprecated, for removal: This API element is subject to removal in a future version.String jarPath is searched in following order: 1.toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
ClientUserCodeDeploymentConfig
public ClientUserCodeDeploymentConfig()Deprecated, for removal: This API element is subject to removal in a future version. -
ClientUserCodeDeploymentConfig
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
isEnabled
public boolean isEnabled()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- {
true
} when User Code Deployment is enabled
-
setEnabled
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
enabled
- Enable or disable User Code Deployment. Default: {false
}- Returns:
- this for chaining
-
getClassNames
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- list of configured class names
-
getJarPaths
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- list of configured jar path
-
setClassNames
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
classNames
- names of the classes that will be send to cluster- Returns:
- this for chaining
-
setJarPaths
Deprecated, for removal: This API element is subject to removal in a future version.String jarPath is searched in following order: 1. as absolute path, 2. as URL, 3. and in classpath.- Parameters:
jarPaths
- add list of jarPaths that will be send to clusters- Returns:
- this for chaining
-
addClass
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
className
- name of the class that will be send to cluster- Returns:
- this for chaining
-
addClass
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
clazz
- class that will be send to cluster- Returns:
- this for chaining
-
addJar
Deprecated, for removal: This API element is subject to removal in a future version.String jarPath is searched in following order: 1. as absolute path, 2. as URL, 3. and in classpath.- Parameters:
jarPath
- path of the jar that will be send to clusters- Returns:
- this for chaining
-
addJar
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
jarFile
- path of the jar that will be send to clusters- Returns:
- this for chaining
-
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version. -
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-