private class ContentCacheControllerImpl.CompleteUpdate extends ContentCacheControllerImpl.Update
Modifier and Type | Field and Description |
---|---|
private Condition |
finished |
private Lock |
lock |
private int |
nr |
private ContentCacheControllerImpl.State |
state |
private ConcurrentLinkedQueue<ContentCacheControllerImpl.PartialUpdate> |
updates |
Constructor and Description |
---|
CompleteUpdate(ContentCacheUpdate update) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addUpdate(ContentCacheControllerImpl.PartialUpdate update) |
(package private) void |
execute() |
(package private) WritableContentCache |
execute(WritableContentCache cache) |
(package private) ContentCacheControllerImpl.State |
getState() |
(package private) boolean |
isFinished() |
(package private) boolean |
isNotYetStarted() |
protected void |
lock() |
(package private) void |
setState(ContentCacheControllerImpl.State state) |
(package private) void |
signalWaiting() |
String |
toString() |
protected void |
unlock() |
(package private) void |
waitForCompletion() |
getUpdate
private final ConcurrentLinkedQueue<ContentCacheControllerImpl.PartialUpdate> updates
private final Lock lock
private final Condition finished
private ContentCacheControllerImpl.State state
private final int nr
CompleteUpdate(ContentCacheUpdate update)
void addUpdate(ContentCacheControllerImpl.PartialUpdate update)
ContentCacheControllerImpl.State getState()
void setState(ContentCacheControllerImpl.State state)
boolean isFinished()
boolean isNotYetStarted()
void execute() throws OwsExceptionReport
OwsExceptionReport
WritableContentCache execute(WritableContentCache cache) throws OwsExceptionReport
OwsExceptionReport
void waitForCompletion() throws OwsExceptionReport
OwsExceptionReport
void signalWaiting()
protected void unlock()
protected void lock()
Copyright © 2012-2015 52north.org. All Rights Reserved.