Class KeySerializer<I,K extends Key<I>>

java.lang.Object
org.wildfly.clustering.marshalling.Serializer.Provided<K>
org.wildfly.clustering.cache.KeySerializer<I,K>
Type Parameters:
I - the key identifier type
K - the key type
All Implemented Interfaces:
org.wildfly.clustering.marshalling.Serializer<K>

public class KeySerializer<I,K extends Key<I>> extends org.wildfly.clustering.marshalling.Serializer.Provided<K>
A serializer for a key.
Author:
Paul Ferraro
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.wildfly.clustering.marshalling.Serializer

    org.wildfly.clustering.marshalling.Serializer.Provided<T extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    KeySerializer(org.wildfly.clustering.marshalling.Serializer<I> serializer, Function<I,K> factory)
     
  • Method Summary

    Methods inherited from class org.wildfly.clustering.marshalling.Serializer.Provided

    read, size, wrap, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.wildfly.clustering.marshalling.Serializer

    toFormatter
  • Constructor Details

    • KeySerializer

      public KeySerializer(org.wildfly.clustering.marshalling.Serializer<I> serializer, Function<I,K> factory)