com.github.longdt.vertxservice.codecs.Kryos Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-service4j Show documentation
Show all versions of vertx-service4j Show documentation
A lightweight replacement for vertx-service-proxy. This library is highly optimized for vertx java
package com.github.longdt.vertxservice.codecs;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import com.github.longdt.vertxservice.util.Arguments;
import com.github.longdt.vertxservice.util.ShareableList;
import com.github.longdt.vertxservice.util.ShareableMap;
import com.github.longdt.vertxservice.util.ShareableSet;
import io.netty.util.concurrent.FastThreadLocal;
import java.util.function.Consumer;
public class Kryos {
private static FastThreadLocal localKryo;
private static final FastThreadLocal localInput = new FastThreadLocal<>() {
@Override
protected Input initialValue() {
return new Input(4096);
}
};
private static final FastThreadLocal
© 2015 - 2025 Weber Informatics LLC | Privacy Policy