public enum ByteBufferMarshaller extends Enum<ByteBufferMarshaller> implements ProtoStreamMarshaller<org.infinispan.commons.io.ByteBufferImpl>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.infinispan.commons.io.ByteBufferImpl> |
getJavaClass() |
org.infinispan.commons.io.ByteBufferImpl |
readFrom(ProtoStreamReader reader) |
static ByteBufferMarshaller |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBufferMarshaller[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeTo(ProtoStreamWriter writer,
org.infinispan.commons.io.ByteBufferImpl buffer) |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetTypeName, read, writepublic static final ByteBufferMarshaller INSTANCE
public static ByteBufferMarshaller[] values()
for (ByteBufferMarshaller c : ByteBufferMarshaller.values()) System.out.println(c);
public static ByteBufferMarshaller 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 org.infinispan.commons.io.ByteBufferImpl readFrom(ProtoStreamReader reader) throws IOException
readFrom in interface Marshallable<org.infinispan.commons.io.ByteBufferImpl>IOExceptionpublic void writeTo(ProtoStreamWriter writer, org.infinispan.commons.io.ByteBufferImpl buffer) throws IOException
writeTo in interface Marshallable<org.infinispan.commons.io.ByteBufferImpl>IOExceptionpublic Class<? extends org.infinispan.commons.io.ByteBufferImpl> getJavaClass()
getJavaClass in interface org.infinispan.protostream.BaseMarshaller<org.infinispan.commons.io.ByteBufferImpl>getJavaClass in interface Marshallable<org.infinispan.commons.io.ByteBufferImpl>Copyright © 2021 JBoss by Red Hat. All rights reserved.