public class AutoSerializer extends Object implements Serializable
ClusterManagementService.create(T)
.Constructor and Description |
---|
AutoSerializer(Boolean portable,
List<String> patterns)
Creates an AutoSerializer.
|
AutoSerializer(boolean portable,
String... patterns)
Creates an AutoSerializer.
|
AutoSerializer(String... patterns)
Creates an AutoSerializer that is not portable.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getPatterns() |
Boolean |
isPortable() |
public AutoSerializer(String... patterns)
patterns
- regular expressions that will cause the auto serializer to serialize any
classes whose fully qualified class name matches one of the patterns.
If no patterns are given, and the operation is CREATE, then an exception will be thrown.public AutoSerializer(boolean portable, String... patterns)
portable
- if true then any attempt to serialize a class that is not supported by the
native client will fail.patterns
- regular expressions that will cause the auto serializer to serialize any
classes whose fully qualified class name matches one of the patterns.
If no patterns are given, and the operation is CREATE, then an exception will be thrown.public AutoSerializer(Boolean portable, List<String> patterns)
portable
- if true then any attempt to serialize a class that is not supported by the
native client will fail.patterns
- regular expressions that will cause the auto serializer to serialize any
classes whose fully qualified class name matches one of the patterns.
If no patterns are given, and the operation is CREATE, then an exception will be thrown.