Uses of Class
com.loomcache.common.serialization.KryoSerializer
Packages that use KryoSerializer
Package
Description
-
Uses of KryoSerializer in com.loomcache.server.compute
Methods in com.loomcache.server.compute with parameters of type KryoSerializerModifier and TypeMethodDescriptionstatic EntryProcessorAllowlistEntryProcessorAllowlist.fromKryoRegistrations(KryoSerializer kryoSerializer) -
Uses of KryoSerializer in com.loomcache.server.cp
Methods in com.loomcache.server.cp with parameters of type KryoSerializerModifier and TypeMethodDescriptionvoidLinearizableAtomicReference.setKryoSerializer(KryoSerializer kryoSerializer) Provide the sharedKryoSerializerused to encode and decode atomic reference values on the Raft command/apply paths. -
Uses of KryoSerializer in com.loomcache.server.datastructures
Methods in com.loomcache.server.datastructures that return KryoSerializerMethods in com.loomcache.server.datastructures with parameters of type KryoSerializerModifier and TypeMethodDescriptionstatic MapSnapshotMapSnapshot.deserialize(byte[] data, String mapName, KryoSerializer serializer) static byte[]MapSnapshot.materialize(byte @Nullable [] baseData, byte[] updateData, String mapName, KryoSerializer serializer) static voidMapSnapshot.registerWith(KryoSerializer serializer) RegisterMapSnapshotwith the given Kryo serializer.static byte[]MapSnapshot.serialize(MapSnapshot snapshot, String mapName, KryoSerializer serializer) voidDataStructureRegistry.setKryoSerializer(KryoSerializer kryoSerializer) voidDistributedMap.setKryoSerializer(KryoSerializer serializer) Wire the Kryo serializer used for map snapshots.Constructors in com.loomcache.server.datastructures with parameters of type KryoSerializerModifierConstructorDescriptionDataStructureRegistry(int instanceNumber, int idGeneratorNodeId, KryoSerializer kryoSerializer) DataStructureRegistry(int instanceNumber, KryoSerializer kryoSerializer) Create a new data structure registry. -
Uses of KryoSerializer in com.loomcache.server.executor
Methods in com.loomcache.server.executor with parameters of type KryoSerializerModifier and TypeMethodDescriptionstatic ExecutorTaskAllowlistExecutorTaskAllowlist.fromKryoRegistrations(KryoSerializer kryoSerializer) Allow task classes only when deployment code explicitly registered the exact class with the shared Kryo serializer.Constructors in com.loomcache.server.executor with parameters of type KryoSerializerModifierConstructorDescriptionDistributedExecutorService(String name, int instanceNumber, KryoSerializer kryoSerializer) Create a new distributed executor service.DistributedExecutorService(String name, int instanceNumber, KryoSerializer kryoSerializer, long defaultTimeoutMillis) Create a new distributed executor service with a custom default timeout.DistributedExecutorService(String name, int instanceNumber, KryoSerializer kryoSerializer, long defaultTimeoutMillis, Supplier<Collection<NodeInfo>> memberSupplier) Create a new distributed executor service with custom timeout and member supplier.DistributedExecutorService(String name, int instanceNumber, KryoSerializer kryoSerializer, Supplier<Collection<NodeInfo>> memberSupplier) Create a new distributed executor service with a member supplier for selector submissions. -
Uses of KryoSerializer in com.loomcache.server.handler
Constructors in com.loomcache.server.handler with parameters of type KryoSerializerModifierConstructorDescriptionExecutorServiceHandler(DataStructureRegistry registry, int instanceNumber, KryoSerializer kryoSerializer) Create an executor service handler.ExecutorServiceHandler(DataStructureRegistry registry, int instanceNumber, KryoSerializer kryoSerializer, ExecutorTaskAllowlist taskAllowlist) ExecutorServiceHandler(DataStructureRegistry registry, int instanceNumber, KryoSerializer kryoSerializer, ExecutorTaskAllowlist taskAllowlist, BooleanSupplier executionEnabled) ExecutorServiceHandler(DataStructureRegistry registry, int instanceNumber, KryoSerializer kryoSerializer, ExecutorTaskAllowlist taskAllowlist, BooleanSupplier executionEnabled, int maxTaskPayloadBytes) -
Uses of KryoSerializer in com.loomcache.server.jcache
Methods in com.loomcache.server.jcache with parameters of type KryoSerializerModifier and TypeMethodDescriptionstatic <K,V> JCacheDistributedMapAdapter <K, V> JCacheDistributedMapAdapter.create(DataStructureRegistry registry, KryoSerializer serializer, String cacheName, Class<K> keyType, Class<V> valueType) Convenience factory that looks up (or creates) the underlyingDistributedMapvia the given registry.static <K,V> JCacheDistributedMapAdapter <K, V> JCacheDistributedMapAdapter.create(DataStructureRegistry registry, KryoSerializer serializer, String cacheName, Class<K> keyType, Class<V> valueType, Collection<Class<?>> allowedEmbeddedTypes) Create an adapter with additional embedded payload types allowed forObject-typed caches.static <K,V> JCacheDistributedMapAdapter <K, V> JCacheDistributedMapAdapter.createProtocolBacked(com.loomcache.server.jcache.LoomJCacheClusterClient clusterClient, KryoSerializer serializer, String cacheName, Class<K> keyType, Class<V> valueType) Factory for the protocol-backed path used by node-owned providers.Constructors in com.loomcache.server.jcache with parameters of type KryoSerializerModifierConstructorDescriptionJCacheDistributedMapAdapter(DistributedMap<String, String> backingMap, KryoSerializer serializer, Class<K> keyType, Class<V> valueType) Create a new adapter backed by the given DistributedMap. -
Uses of KryoSerializer in com.loomcache.server.persistence
Methods in com.loomcache.server.persistence with parameters of type KryoSerializerModifier and TypeMethodDescriptionstatic voidStateMachineSnapshotManager.registerWith(KryoSerializer serializer) RegisterStateMachineSnapshotManager.FullSnapshotandDeltaSnapshotwith the given Kryo serializer.Constructors in com.loomcache.server.persistence with parameters of type KryoSerializerModifierConstructorDescriptionSnapshotChain(StateMachineSnapshotManager.FullSnapshot base, KryoSerializer mapSnapshotSerializer) Create a snapshot chain sharing aKryoSerializerwith the rest of the server so that map snapshot merging sees the same registered classes.StateMachineSnapshotManager(String nodeId, Path snapshotDirectory, KryoSerializer serializer) Create a snapshot manager that shares the givenKryoSerializerwith the rest of the server.