public final class GryoPool extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
GryoPool.Builder  | 
static class  | 
GryoPool.Type  | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
CONFIG_IO_GRYO_POOL_SIZE  | 
static int | 
CONFIG_IO_GRYO_POOL_SIZE_DEFAULT  | 
static GryoVersion | 
CONFIG_IO_GRYO_POOL_VERSION_DEFAULT  | 
static String | 
CONFIG_IO_GRYO_VERSION  | 
| Modifier and Type | Method and Description | 
|---|---|
static GryoPool.Builder | 
build()  | 
<A> A | 
doWithReader(Function<GryoReader,A> readerFunction)  | 
void | 
doWithWriter(Consumer<GryoWriter> writerFunction)  | 
GryoMapper | 
getMapper()  | 
void | 
offerKryo(Kryo kryo)  | 
void | 
offerReader(GryoReader gryoReader)  | 
void | 
offerWriter(GryoWriter gryoWriter)  | 
<A> A | 
readWithKryo(Function<Kryo,A> kryoFunction)  | 
Kryo | 
takeKryo()  | 
GryoReader | 
takeReader()  | 
GryoWriter | 
takeWriter()  | 
void | 
writeWithKryo(Consumer<Kryo> kryoConsumer)  | 
public static final String CONFIG_IO_GRYO_POOL_SIZE
public static final String CONFIG_IO_GRYO_VERSION
public static final int CONFIG_IO_GRYO_POOL_SIZE_DEFAULT
public static final GryoVersion CONFIG_IO_GRYO_POOL_VERSION_DEFAULT
public static GryoPool.Builder build()
public GryoMapper getMapper()
public Kryo takeKryo()
public GryoReader takeReader()
public GryoWriter takeWriter()
public void offerKryo(Kryo kryo)
public void offerReader(GryoReader gryoReader)
public void offerWriter(GryoWriter gryoWriter)
public <A> A readWithKryo(Function<Kryo,A> kryoFunction)
public void writeWithKryo(Consumer<Kryo> kryoConsumer)
public <A> A doWithReader(Function<GryoReader,A> readerFunction)
public void doWithWriter(Consumer<GryoWriter> writerFunction)
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.