org.javers.core.CommitIdGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javers-core Show documentation
Show all versions of javers-core Show documentation
JaVers - object auditing and diff framework for Java
package org.javers.core;
import org.javers.repository.api.JaversRepository;
/**
* @author bartosz.walacik
*/
public enum CommitIdGenerator {
/**
* Generates neat sequence of commitId numbers. Based on {@link JaversRepository#getHeadId()}.
*
* Should not be used in distributed applications.
*/
SYNCHRONIZED_SEQUENCE,
/**
* Fast algorithm based on UUID. For distributed applications.
* @deprecated
*/
@Deprecated
RANDOM
}