public class SessionKeyExternalizer<K extends Key<String>> extends Object implements org.wildfly.clustering.marshalling.Externalizer<K>
| Constructor and Description |
|---|
SessionKeyExternalizer(Class<K> targetClass,
Function<String,K> resolver) |
| Modifier and Type | Method and Description |
|---|---|
Class<K> |
getTargetClass() |
K |
readObject(ObjectInput input) |
void |
writeObject(ObjectOutput output,
K key) |
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, ClassNotFoundException
readObject in interface org.wildfly.clustering.marshalling.Externalizer<K extends Key<String>>IOExceptionClassNotFoundExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.