Package co.paralleluniverse.fibers
Class ThreadLocalSerializer
- java.lang.Object
-
- com.esotericsoftware.kryo.Serializer<java.lang.ThreadLocal<?>>
-
- co.paralleluniverse.fibers.ThreadLocalSerializer
-
public class ThreadLocalSerializer extends com.esotericsoftware.kryo.Serializer<java.lang.ThreadLocal<?>>
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
PRINT_WARNINGS_ON_UNSERIALIZABLE_THREAD_LOCAL
-
Constructor Summary
Constructors Constructor Description ThreadLocalSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThreadLocal<?>
read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<java.lang.ThreadLocal<?>> type)
void
write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, java.lang.ThreadLocal<?> tl)
-
-
-
Method Detail
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, java.lang.ThreadLocal<?> tl)
- Specified by:
write
in classcom.esotericsoftware.kryo.Serializer<java.lang.ThreadLocal<?>>
-
read
public java.lang.ThreadLocal<?> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<java.lang.ThreadLocal<?>> type)
- Specified by:
read
in classcom.esotericsoftware.kryo.Serializer<java.lang.ThreadLocal<?>>
-
-