Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 9d1bac2f275e407570a9c94e2f7954ac4add5083 (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
31
32
33
34
/*
 * Copyright (c) 2009-2012, 2014 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:
 *    Eike Stepper - initial API and implementation
 */
package org.eclipse.emf.cdo.transaction;

import java.util.List;

/**
 * Creates a save point in a {@link CDOXATransaction} that can be used to roll back a part of the transaction.
 * <p>
 * <b>Note:</b> Save points do not flush to disk. Everything is done in memory on the client side.
 *
 * @author Eike Stepper
 * @since 3.0
 * @noextend This interface is not intended to be extended by clients.
 * @noimplement This interface is not intended to be implemented by clients.
 */
public interface CDOXASavepoint extends CDOUserSavepoint
{
  public CDOXATransaction getTransaction();

  public CDOXASavepoint getNextSavepoint();

  public CDOXASavepoint getPreviousSavepoint();

  public List<CDOSavepoint> getSavepoints();
}

Back to the top