Class InfinispanSessionLegacyConverter


  • public class InfinispanSessionLegacyConverter
    extends java.lang.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.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkConverted()
      Retrieve the sessions using protobuf format and print them out to confirm they're ok.
      void convert()
      Convert all sessions to protobuf format sessions.
      static void main​(java.lang.String... args)  
      static void usage()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InfinispanSessionLegacyConverter

        public InfinispanSessionLegacyConverter​(java.lang.String cacheName)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • 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​(java.lang.String... args)