Class SimpleIpBasedProvider

  • All Implemented Interfaces:
    HostnameProvider

    public class SimpleIpBasedProvider
    extends java.lang.Object
    implements HostnameProvider
    Author:
    Thorben Lindhauer
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String createId​(java.lang.String ip, java.lang.String engineName)  
      java.lang.String getHostname​(ProcessEngineConfigurationImpl processEngineConfiguration)
      Provides a String that identifies the host of the given Process Engine.
      • Methods inherited from class java.lang.Object

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

      • SimpleIpBasedProvider

        public SimpleIpBasedProvider()
    • Method Detail

      • getHostname

        public java.lang.String getHostname​(ProcessEngineConfigurationImpl processEngineConfiguration)
        Description copied from interface: HostnameProvider
        Provides a String that identifies the host of the given Process Engine.
        Specified by:
        getHostname in interface HostnameProvider
        Parameters:
        processEngineConfiguration - of the Process Engine that will run on the current host
        Returns:
        a String identifying the current host
      • createId

        public static final java.lang.String createId​(java.lang.String ip,
                                                      java.lang.String engineName)