public enum JGroupsAddressSerializer extends Enum<JGroupsAddressSerializer> implements org.wildfly.clustering.marshalling.spi.Serializer<org.infinispan.remoting.transport.jgroups.JGroupsAddress>
| Modifier and Type | Class and Description |
|---|---|
static class |
JGroupsAddressSerializer.JGroupsAddressExternalizer |
static class |
JGroupsAddressSerializer.JGroupsAddressKeyFormat |
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
org.infinispan.remoting.transport.jgroups.JGroupsAddress |
read(DataInput input) |
static JGroupsAddressSerializer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JGroupsAddressSerializer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(DataOutput output,
org.infinispan.remoting.transport.jgroups.JGroupsAddress address) |
public static final JGroupsAddressSerializer INSTANCE
public static JGroupsAddressSerializer[] values()
for (JGroupsAddressSerializer c : JGroupsAddressSerializer.values()) System.out.println(c);
public static JGroupsAddressSerializer 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 write(DataOutput output, org.infinispan.remoting.transport.jgroups.JGroupsAddress address) throws IOException
write in interface org.wildfly.clustering.marshalling.spi.Serializer<org.infinispan.remoting.transport.jgroups.JGroupsAddress>IOExceptionpublic org.infinispan.remoting.transport.jgroups.JGroupsAddress read(DataInput input) throws IOException
read in interface org.wildfly.clustering.marshalling.spi.Serializer<org.infinispan.remoting.transport.jgroups.JGroupsAddress>IOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.