FileDocCategorySizeDatePackage
AccessCallback.javaAPI DocHibernate 3.2.5367Thu Mar 15 04:33:16 GMT 2007org.hibernate.id.enhanced

AccessCallback.java

package org.hibernate.id.enhanced;

/**
 * Contract for providing callback access to a {@link DatabaseStructure},
 * typically from the {@link Optimizer}.
 *
 * @author Steve Ebersole
 */
public interface AccessCallback {
	/**
	 * Retrieve the next value from the underlying source.
	 *
	 * @return The next value.
	 */
	public long getNextValue();
}