All Downloads are FREE. Search and download functionalities are using the official Maven repository.

one.edee.darwin.locker.InstanceIdProvider Maven / Gradle / Ivy

Go to download

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