Class BootstrapEvent

  • All Implemented Interfaces:
    IEvent, RemoteEvent

    public class BootstrapEvent
    extends AbstractEvent
    Initial message sent from the slave to the master (if forked locally).
    • Field Detail

      • GUARANTEED_PROPERTIES

        private static final java.util.List<java.lang.String> GUARANTEED_PROPERTIES
      • defaultCharset

        private java.lang.String defaultCharset
      • systemProperties

        private java.util.Map<java.lang.String,​java.lang.String> systemProperties
      • pidString

        private java.lang.String pidString
    • Constructor Detail

      • BootstrapEvent

        public BootstrapEvent()
        Preinitialization with local machine's configuration.
    • Method Detail

      • collectSystemProperties

        private java.util.Map<java.lang.String,​java.lang.String> collectSystemProperties()
      • getDefaultCharsetName

        public java.lang.String getDefaultCharsetName()
        Default charset on the slave.
      • getSystemProperties

        public java.util.Map<java.lang.String,​java.lang.String> getSystemProperties()
        System properties on the slave.
      • getPidString

        public java.lang.String getPidString()
        Returns a PID string or anything that approximates it and would help in dumping a stack trace externally, for example.
      • serialize

        public void serialize​(JsonWriter writer)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • deserialize

        public void deserialize​(JsonReader reader)
                         throws java.io.IOException
        Throws:
        java.io.IOException