public class KryoShimServiceLoader extends Object
KryoShimService.| Modifier and Type | Field and Description | 
|---|---|
| static String | KRYO_SHIM_SERVICESet this system property to the fully-qualified name of a  KryoShimServicepackage-and-classname to force it into service. | 
| Constructor and Description | 
|---|
| KryoShimServiceLoader() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | applyConfiguration(org.apache.commons.configuration2.Configuration configuration) | 
| static void | close() | 
| static <T> T | readClassAndObject(InputStream inputStream)A loose abstraction of  Kryo.readClassAndObject(org.apache.tinkerpop.shaded.kryo.io.Input),
 where theinputparameter issource. | 
| static byte[] | writeClassAndObjectToBytes(Object object)A loose abstraction of  Kryo.writeClassAndObject(org.apache.tinkerpop.shaded.kryo.io.Output, java.lang.Object),
 where theoutputparameter is an internally-createdByteArrayOutputStream. | 
public static final String KRYO_SHIM_SERVICE
KryoShimService
 package-and-classname to force it into service.  Setting this property causes the
 priority-selection mechanism (KryoShimService.getPriority()) to be ignored.public static void applyConfiguration(org.apache.commons.configuration2.Configuration configuration)
public static void close()
public static byte[] writeClassAndObjectToBytes(Object object)
Kryo.writeClassAndObject(org.apache.tinkerpop.shaded.kryo.io.Output, java.lang.Object),
 where the output parameter is an internally-created ByteArrayOutputStream.  Returns
 the byte array underlying that stream.object - an object for which the instance and class are serializedpublic static <T> T readClassAndObject(InputStream inputStream)
Kryo.readClassAndObject(org.apache.tinkerpop.shaded.kryo.io.Input),
 where the input parameter is source.  Returns the deserialized object.T - the type to which the deserialized object is cast as it is returnedinputStream - an input stream containing data for a serialized object class and instanceCopyright © 2013–2022 Apache Software Foundation. All rights reserved.