Skip to main content
summaryrefslogtreecommitdiffstats
blob: ac45152f1960111f3463a7bc843825fe4eefb027 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
 * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Andre Dietisheim - initial API and implementation
 */
package org.eclipse.emf.cdo.common.commit;

import org.eclipse.emf.cdo.common.branch.CDOBranch;

/**
 * The returned <code>CommitInfo</code> should be ordered by TimeStamp, earlier first.
 * 
 * @author Andre Dietisheim
 * @since 3.0
 */
public interface CDOCommitInfoManager
{
  public CDOCommitInfo getCommitInfo(CDOBranch branch, long timeStamp);

  public void getCommitInfos(CDOBranch branch, long startTime, long endTime, CDOCommitInfoHandler handler);

  public void getCommitInfos(CDOBranch branch, CDOCommitInfoHandler handler);

  public void getCommitInfos(long startTime, long endTime, CDOCommitInfoHandler handler);
}

Back to the top