Class LegacyMasterProcessChannelProcessorFactory

    • Constructor Detail

      • LegacyMasterProcessChannelProcessorFactory

        public LegacyMasterProcessChannelProcessorFactory()
    • Method Detail

      • canUse

        public boolean canUse​(java.lang.String channelConfig)
        Description copied from interface: MasterProcessChannelProcessorFactory
        Evaluates the channelConfig.
        Parameters:
        channelConfig - a connection string used by the fork JVM
        Returns:
        true if channelConfig is applicable and thus this SPI is eligible in the fork
      • connect

        public void connect​(java.lang.String channelConfig)
                     throws java.io.IOException
        Description copied from interface: MasterProcessChannelProcessorFactory
        Open a new connection.
        Parameters:
        channelConfig - e.g. "pipe://3" or "tcp://localhost:65035"
        Throws:
        java.io.IOException - if cannot connect