Package org.apache.helix.controller.serializer

Examples of org.apache.helix.controller.serializer.StringSerializer.serialize()


    StringSerializer serializer = instantiateSerializerFromContext(_context);
    if (_context != null && serializer != null) {
      _record.setSimpleField(Fields.SERIALIZER_CLASS.toString(), _context.getSerializerClass()
          .getName());
      _record.setSimpleField(Fields.CONTEXT_CLASS.toString(), _context.getClass().getName());
      _record.setSimpleField(Fields.CONTEXT.toString(), serializer.serialize(_context));
    }
  }

  /**
   * Instantiate from a record
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.