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.StringcreateId(java.lang.String ip, java.lang.String engineName)java.lang.StringgetHostname(ProcessEngineConfigurationImpl processEngineConfiguration)Provides aStringthat identifies the host of the given Process Engine.
-
-
-
Method Detail
-
getHostname
public java.lang.String getHostname(ProcessEngineConfigurationImpl processEngineConfiguration)
Description copied from interface:HostnameProviderProvides aStringthat identifies the host of the given Process Engine.- Specified by:
getHostnamein 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)
-
-