Class InfinispanSessionLegacyConverter

java.lang.Object
org.eclipse.jetty.session.infinispan.InfinispanSessionLegacyConverter

public class InfinispanSessionLegacyConverter extends Object
InfinispanSessionLegacyConverter Converts sessions saved in the old serialization format into the new protobuf-based serialization. Use the -Dverbose=true system property to print out more information about conversion failures.
  • Constructor Details

    • InfinispanSessionLegacyConverter

      public InfinispanSessionLegacyConverter(String cacheName) throws Exception
      Throws:
      Exception
  • Method Details

    • convert

      public void convert()
      Convert all sessions to protobuf format sessions.
    • checkConverted

      public void checkConverted()
      Retrieve the sessions using protobuf format and print them out to confirm they're ok.
    • usage

      public static final void usage()
    • main

      public static final void main(String... args)