Class AddressSerializer.JGroupsAddressFormatter

java.lang.Object
org.wildfly.clustering.server.infinispan.AddressSerializer.JGroupsAddressFormatter
All Implemented Interfaces:
org.wildfly.clustering.marshalling.Formatter<org.infinispan.remoting.transport.Address>
Enclosing class:
AddressSerializer

@MetaInfServices(org.wildfly.clustering.marshalling.Formatter.class) public static class AddressSerializer.JGroupsAddressFormatter extends Object implements org.wildfly.clustering.marshalling.Formatter<org.infinispan.remoting.transport.Address>
A formatter of a JGroups address.
Author:
Paul Ferraro
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.wildfly.clustering.marshalling.Formatter

    org.wildfly.clustering.marshalling.Formatter.Identity, org.wildfly.clustering.marshalling.Formatter.Provided<T>
  • Field Summary

    Fields inherited from interface org.wildfly.clustering.marshalling.Formatter

    IDENTITY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a formatter.
  • Method Summary

    Modifier and Type
    Method
    Description
    format(org.infinispan.remoting.transport.Address address)
     
    Class<? extends org.infinispan.remoting.transport.Address>
     
    org.infinispan.remoting.transport.Address
    parse(String value)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.wildfly.clustering.marshalling.Formatter

    wrap
  • Constructor Details

    • JGroupsAddressFormatter

      public JGroupsAddressFormatter()
      Creates a formatter.
  • Method Details

    • getType

      public Class<? extends org.infinispan.remoting.transport.Address> getType()
      Specified by:
      getType in interface org.wildfly.clustering.marshalling.Formatter<org.infinispan.remoting.transport.Address>
    • parse

      public org.infinispan.remoting.transport.Address parse(String value)
      Specified by:
      parse in interface org.wildfly.clustering.marshalling.Formatter<org.infinispan.remoting.transport.Address>
    • format

      public String format(org.infinispan.remoting.transport.Address address)
      Specified by:
      format in interface org.wildfly.clustering.marshalling.Formatter<org.infinispan.remoting.transport.Address>