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 String | CONFIG_IO_REGISTRY | 
| 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_REGISTRY
public static final String CONFIG_IO_GRYO_POOL_SIZE
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–2015 Apache Software Foundation. All rights reserved.