public class IndexedSessionKeyExternalizer<K extends Key<String>> extends Object implements org.wildfly.clustering.marshalling.Externalizer<K>
| Modifier | Constructor and Description |
|---|---|
protected |
IndexedSessionKeyExternalizer(Class<K> targetClass,
ToIntFunction<K> index,
BiFunction<String,Integer,K> resolver) |
| Modifier and Type | Method and Description |
|---|---|
Class<K> |
getTargetClass() |
K |
readObject(ObjectInput input) |
void |
writeObject(ObjectOutput output,
K key) |
protected IndexedSessionKeyExternalizer(Class<K> targetClass, ToIntFunction<K> index, BiFunction<String,Integer,K> resolver)
public void writeObject(ObjectOutput output, K key) throws IOException
writeObject in interface org.wildfly.clustering.marshalling.Externalizer<K extends Key<String>>IOExceptionpublic K readObject(ObjectInput input) throws IOException
readObject in interface org.wildfly.clustering.marshalling.Externalizer<K extends Key<String>>IOExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.