Package com.hazelcast.config
Class UserCodeNamespaceConfig
java.lang.Object
com.hazelcast.config.UserCodeNamespaceConfig
- All Implemented Interfaces:
- NamedConfig,- DataSerializable,- IdentifiedDataSerializable
public class UserCodeNamespaceConfig
extends Object
implements NamedConfig, IdentifiedDataSerializable
Contains the configuration for a specific User Code Namespace, defining its identifier
 (name) as well as the definitions for resources it provides.
- Since:
- 5.4
- 
Constructor SummaryConstructorsConstructorDescriptionUserCodeNamespaceConfig(String name, Map<String, com.hazelcast.internal.namespace.ResourceDefinition> resources) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected UserCodeNamespaceConfigadd(com.hazelcast.internal.namespace.ResourceDefinition resourceDefinition) addJarsInZip(URL url, String id) booleanintReturns type identifier for this class.intReturns DataSerializableFactory factory ID for this class.getName()inthashCode()voidReads fields from the input streamvoidWrites object fields to output stream
- 
Constructor Details- 
UserCodeNamespaceConfigpublic UserCodeNamespaceConfig()
- 
UserCodeNamespaceConfig
- 
UserCodeNamespaceConfig
- 
UserCodeNamespaceConfig
 
- 
- 
Method Details- 
setName- Specified by:
- setNamein interface- NamedConfig
 
- 
getName- Specified by:
- getNamein interface- NamedConfig
 
- 
addClass
- 
addClass
- 
addJar
- 
addJarsInZip
- 
addprotected UserCodeNamespaceConfig add(com.hazelcast.internal.namespace.ResourceDefinition resourceDefinition) 
- 
writeDataDescription copied from interface:DataSerializableWrites object fields to output stream- Specified by:
- writeDatain interface- DataSerializable
- Parameters:
- out- output
- Throws:
- IOException- if an I/O error occurs. In particular, an- IOExceptionmay be thrown if the output stream has been closed.
 
- 
readDataDescription copied from interface:DataSerializableReads fields from the input stream- Specified by:
- readDatain interface- DataSerializable
- Parameters:
- in- input
- Throws:
- IOException- if an I/O error occurs. In particular, an- IOExceptionmay be thrown if the input stream has been closed.
 
- 
getFactoryIdpublic int getFactoryId()Description copied from interface:IdentifiedDataSerializableReturns DataSerializableFactory factory ID for this class.- Specified by:
- getFactoryIdin interface- IdentifiedDataSerializable
- Returns:
- factory ID
 
- 
getClassIdpublic int getClassId()Description copied from interface:IdentifiedDataSerializableReturns type identifier for this class. It should be unique per DataSerializableFactory.- Specified by:
- getClassIdin interface- IdentifiedDataSerializable
- Returns:
- type ID
 
- 
hashCodepublic int hashCode()
- 
equals
 
-