mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
this allows an internal cache to be maintained that permits most calls to the heavyweight getLatestSnapshotID(String store) AVM API to be skipped. This addresses a performance problem noticed when the number of stores is large. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
19 lines
454 B
Java
19 lines
454 B
Java
/**
|
|
*
|
|
*/
|
|
package org.alfresco.repo.avm;
|
|
|
|
/**
|
|
* Callback interface for those interested in new version creation.
|
|
* @author britt
|
|
*/
|
|
public interface CreateVersionCallback
|
|
{
|
|
/**
|
|
* A version of a store has been created.
|
|
* @param storeName The name of the store in which a new version has been created.
|
|
* @param versionID The version id of the new version.
|
|
*/
|
|
public void versionCreated(String storeName, int versionID);
|
|
}
|