| Package | Description |
|---|---|
| org.nustaq.kson | |
| org.nustaq.net | |
| org.nustaq.serialization | |
| org.nustaq.serialization.coders | |
| org.nustaq.serialization.simpleapi |
| Modifier and Type | Field and Description |
|---|---|
protected FSTConfiguration |
KsonSerializer.conf |
static FSTConfiguration |
Kson.conf |
| Constructor and Description |
|---|
JSonSerializer(KsonCharOutput out,
KsonTypeMapper mapper,
FSTConfiguration conf) |
KsonSerializer(KsonCharOutput out,
KsonTypeMapper mapper,
FSTConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
FSTConfiguration |
TCPObjectSocket.getConf() |
| Modifier and Type | Method and Description |
|---|---|
void |
TCPObjectSocket.setConf(FSTConfiguration conf) |
| Constructor and Description |
|---|
TCPObjectServer(FSTConfiguration conf,
int port) |
TCPObjectSocket(Socket socket,
FSTConfiguration conf) |
TCPObjectSocket(String host,
int port,
FSTConfiguration conf) |
| Modifier and Type | Field and Description |
|---|---|
protected FSTConfiguration |
FSTObjectOutput.conf |
| Modifier and Type | Method and Description |
|---|---|
FSTConfiguration |
FSTConfiguration.cpMap(String shortName,
Class clz)
shorthand for registerCrossPlatformClassMapping(_,_)
|
static FSTConfiguration |
FSTConfiguration.createAndroidDefaultConfiguration()
Configuration for use on Android.
|
static FSTConfiguration |
FSTConfiguration.createDefaultConfiguration()
the standard FSTConfiguration.
|
static FSTConfiguration |
FSTConfiguration.createFastBinaryConfiguration()
Returns a configuration using Unsafe to read write data.
|
static FSTConfiguration |
FSTConfiguration.createJsonConfiguration() |
static FSTConfiguration |
FSTConfiguration.createJsonConfiguration(boolean prettyPrint,
boolean shareReferences) |
static FSTConfiguration |
FSTConfiguration.createMinBinConfiguration()
Warning: MinBin contains full metainformation (fieldnames,..), so its way slower than the other configs.
|
static FSTConfiguration |
FSTConfiguration.createStructConfiguration()
special configuration used internally for struct emulation
|
FSTConfiguration |
FSTObjectInput.getConf() |
FSTConfiguration |
FSTObjectOutput.getConf() |
static FSTConfiguration |
FSTConfiguration.getDefaultConfiguration() |
protected static FSTConfiguration |
FSTConfiguration.initDefaultFstConfigurationInternal(FSTConfiguration conf) |
FSTConfiguration |
FSTConfiguration.registerCrossPlatformClassMapping(String[][] keysAndVals)
init right after creation of configuration, not during operation as it is not threadsafe regarding mutation
currently only for minbin serialization
|
FSTConfiguration |
FSTConfiguration.registerCrossPlatformClassMapping(String shortName,
String fqName) |
FSTConfiguration |
FSTConfiguration.registerCrossPlatformClassMappingUseSimpleName(Class... classes)
init right after creation of configuration, not during operation as it is not threadsafe regarding mutation
|
FSTConfiguration |
FSTConfiguration.registerCrossPlatformClassMappingUseSimpleName(List<Class> classes) |
FSTConfiguration |
FSTConfiguration.setForceClzInit(boolean forceClzInit)
always execute default fields init, even if no transients (so would get overwritten anyway)
required for lossy codecs (kson)
|
FSTConfiguration |
FSTConfiguration.setForceSerializable(boolean forceSerializable)
treat unserializable classes same as if they would be serializable.
|
| Modifier and Type | Method and Description |
|---|---|
protected static FSTConfiguration |
FSTConfiguration.initDefaultFstConfigurationInternal(FSTConfiguration conf) |
| Constructor and Description |
|---|
FSTClazzInfo(FSTConfiguration conf,
Class clazz,
FSTClazzInfoRegistry infoRegistry,
boolean ignoreAnnotations) |
FSTClazzInfoRegistry(FSTConfiguration conf) |
FSTClazzNameRegistry(FSTClazzNameRegistry par,
FSTConfiguration conf) |
FSTObjectInput(FSTConfiguration conf) |
FSTObjectInput(InputStream in,
FSTConfiguration conf)
Creates a FSTObjectInput that uses the specified
underlying InputStream.
|
FSTObjectInputNoShared(FSTConfiguration conf) |
FSTObjectInputNoShared(InputStream in,
FSTConfiguration conf)
Creates a FSTObjectInput that uses the specified
underlying InputStream.
|
FSTObjectOutput(FSTConfiguration conf)
serialize without an underlying stream, the resulting byte array of writing to
this FSTObjectOutput can be accessed using getBuffer(), the size using getWritten().
|
FSTObjectOutput(OutputStream out,
FSTConfiguration conf)
Creates a new FSTObjectOutput stream to write data to the specified
underlying output stream.
|
FSTObjectOutputNoShared(FSTConfiguration conf)
serialize without an underlying stream, the resulting byte array of writing to
this FSTObjectOutput can be accessed using getBuffer(), the size using getWritten().
|
FSTObjectOutputNoShared(OutputStream out,
FSTConfiguration conf)
Creates a new FSTObjectOutputNoShared stream to write data to the specified
underlying output stream.
|
FSTObjectRegistry(FSTConfiguration conf) |
| Constructor and Description |
|---|
FSTBytezDecoder(FSTConfiguration conf) |
FSTBytezDecoder(FSTConfiguration conf,
BasicBytez input) |
FSTBytezEncoder(FSTConfiguration conf,
BasicBytez base) |
FSTJsonDecoder(FSTConfiguration conf) |
FSTJsonEncoder(FSTConfiguration conf) |
FSTMinBinDecoder(FSTConfiguration conf) |
FSTMinBinEncoder(FSTConfiguration conf) |
FSTStreamDecoder(FSTConfiguration conf) |
FSTStreamEncoder(FSTConfiguration conf) |
| Modifier and Type | Field and Description |
|---|---|
protected FSTConfiguration |
DefaultCoder.conf |
protected FSTConfiguration |
OffHeapCoder.conf |
protected FSTConfiguration |
OnHeapCoder.conf |
| Modifier and Type | Method and Description |
|---|---|
FSTConfiguration |
DefaultCoder.getConf() |
FSTConfiguration |
OnHeapCoder.getConf() |
FSTConfiguration |
FSTCoder.getConf() |
Copyright © 2015. All rights reserved.