Class SimpleIpBasedProvider
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.event.SimpleIpBasedProvider
-
- All Implemented Interfaces:
HostnameProvider
public class SimpleIpBasedProvider extends java.lang.Object implements HostnameProvider
- Author:
- Thorben Lindhauer
-
-
Constructor Summary
Constructors Constructor Description SimpleIpBasedProvider()
-
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 aString
that identifies the host of the given Process Engine.
-
-
-
Method Detail
-
getHostname
public java.lang.String getHostname(ProcessEngineConfigurationImpl processEngineConfiguration)
Description copied from interface:HostnameProvider
Provides aString
that identifies the host of the given Process Engine.- Specified by:
getHostname
in interfaceHostnameProvider
- 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)
-
-