public enum ByteBufferExternalizer extends Enum<ByteBufferExternalizer> implements org.wildfly.clustering.marshalling.Externalizer<org.infinispan.commons.io.ByteBufferImpl>
ByteBufferImpl.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Class<org.infinispan.commons.io.ByteBufferImpl> |
getTargetClass() |
org.infinispan.commons.io.ByteBufferImpl |
readObject(ObjectInput input) |
static ByteBufferExternalizer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBufferExternalizer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeObject(ObjectOutput output,
org.infinispan.commons.io.ByteBufferImpl buffer) |
public static final ByteBufferExternalizer INSTANCE
public static ByteBufferExternalizer[] values()
for (ByteBufferExternalizer c : ByteBufferExternalizer.values()) System.out.println(c);
public static ByteBufferExternalizer valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void writeObject(ObjectOutput output, org.infinispan.commons.io.ByteBufferImpl buffer) throws IOException
writeObject in interface org.wildfly.clustering.marshalling.Externalizer<org.infinispan.commons.io.ByteBufferImpl>IOExceptionpublic org.infinispan.commons.io.ByteBufferImpl readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface org.wildfly.clustering.marshalling.Externalizer<org.infinispan.commons.io.ByteBufferImpl>IOExceptionClassNotFoundExceptionpublic Class<org.infinispan.commons.io.ByteBufferImpl> getTargetClass()
getTargetClass in interface org.wildfly.clustering.marshalling.Externalizer<org.infinispan.commons.io.ByteBufferImpl>Copyright © 2020 JBoss by Red Hat. All rights reserved.