one.edee.darwin.locker.InstanceIdProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of darwin Show documentation
Show all versions of darwin Show documentation
Library allows easy evolution of the data model for your application. Darwin runs migration SQL scripts in a
specific dialect according to clearly defined rules.
The newest version!
package one.edee.darwin.locker;
/**
* An interface for providing instance IDs. Implementations must provide the getInstanceId() method,
* which returns the unique identifier for the current instance and node.
*
* @author Štěpán Kameník, FG Forrest a.s. (c) 2023
*/
public interface InstanceIdProvider {
String DEFAULT_INSTANCE_ID = "DEFAULT";
String INSTANCE_DELIMITER = "_";
String getInstanceId();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy