public interface CDOUpdatable
passive updates
.Modifier and Type | Field and Description |
---|---|
static long |
NO_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
long |
getLastUpdateTime()
Returns the time stamp of the last commit operation.
|
boolean |
runAfterUpdate(long updateTime,
Runnable runnable) |
void |
waitForUpdate(long updateTime)
Blocks the calling thread until a commit operation with the given time stamp (or higher) has occured.
|
boolean |
waitForUpdate(long updateTime,
long timeoutMillis)
Blocks the calling thread until a commit operation with the given time stamp (or higher) has occured or the given
timeout has expired.
|
static final long NO_TIMEOUT
long getLastUpdateTime()
passive updates
are disabled.void waitForUpdate(long updateTime)
boolean waitForUpdate(long updateTime, long timeoutMillis)
true
if the specified commit operation has occured within the given timeout period,
false
otherwise.boolean runAfterUpdate(long updateTime, Runnable runnable)
Copyright (c) 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