Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-02-28 10:07:36 +0000
committerEike Stepper2010-02-28 10:07:36 +0000
commite2cfa9dd055a2533ff7282ffa9abcda151a4c751 (patch)
treeab62c14c9d689d1a2b39d619e5ba6c8d3c59d763 /plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/CDOReplicationContext.java
parent335479690a034b0c1630f1a91ec109ceebae1f1c (diff)
downloadcdo-e2cfa9dd055a2533ff7282ffa9abcda151a4c751.tar.gz
cdo-e2cfa9dd055a2533ff7282ffa9abcda151a4c751.tar.xz
cdo-e2cfa9dd055a2533ff7282ffa9abcda151a4c751.zip
[256936] Support for Offline Mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256936
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/CDOReplicationContext.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/CDOReplicationContext.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/CDOReplicationContext.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/CDOReplicationContext.java
new file mode 100644
index 0000000000..9a17e4d1fd
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/CDOReplicationContext.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright (c) 2004 - 2010 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.spi.common;
+
+import org.eclipse.emf.cdo.common.branch.CDOBranchHandler;
+import org.eclipse.emf.cdo.common.commit.CDOCommitInfoHandler;
+
+/**
+ * @author Eike Stepper
+ * @since 3.0
+ */
+public interface CDOReplicationContext extends CDOBranchHandler, CDOCommitInfoHandler
+{
+ public int getLastReplicatedBranchID();
+
+ public long getLastReplicatedCommitTime();
+}

Back to the top