public interface Batch
| Modifier and Type | Field and Description |
|---|---|
static PointValue |
DISABLED_UPDATE
Disabled update marker.
|
static Comparator<PointValue> |
POINT_EVENT_COMPARATOR
Point event comparator
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptNotices(Collection<PointValue> notices)
Accepts notices.
|
void |
addStoreValuesQuery(StoreValuesQuery storeValuesQuery)
Adds a store values query for the point's store.
|
void |
addUpdate(PointValue pointValue)
Adds an update.
|
void |
forgetInputValue(PointValue inputValue)
Forgets an input value.
|
int |
getLookUpPass()
Gets the look up pass.
|
PointValue |
getPointValue(BatchValuesQuery batchQuery)
Gets a point value as specified in a batch query.
|
Collection<PointValue> |
getPointValues(BatchValuesQuery batchQuery)
Gets point values as specified in a batch query.
|
Optional<ResultValue> |
getResultValue(PointValue pointValue)
Gets a result value.
|
void |
queueSignal(String name,
Optional<String> info)
Queues a signal
|
ResultValue |
replaceResultValue(ResultValue resultValue,
Behavior caller)
Replaces the supplied result value.
|
void |
scheduleUpdate(PointValue update)
Schedules an update.
|
void |
setCutoff(Optional<NormalizedValue> pointValue)
Sets the cutoff to the point value.
|
void |
setUpdatesFiltered(boolean updatesFiltered)
Sets the updates filtered control value.
|
ResultValue |
setUpResultValue(DateTime stamp,
Behavior caller)
Sets up a result for processing.
|
ResultValue |
setUpResultValue(PointValue notice,
DateTime stamp,
Behavior caller)
Sets up a result value for processing.
|
ResultValue |
setUpResultValue(ResultValue newResult,
Behavior caller)
Sets up a result for processing.
|
static final PointValue DISABLED_UPDATE
static final Comparator<PointValue> POINT_EVENT_COMPARATOR
void acceptNotices(@Nonnull
Collection<PointValue> notices)
throws MemoryLimitException
notices - The notices.MemoryLimitException - When the memory limit is exceeded.void addStoreValuesQuery(@Nonnull
StoreValuesQuery storeValuesQuery)
storeValuesQuery - The store values queryvoid addUpdate(@Nonnull
PointValue pointValue)
pointValue - The point value update.void forgetInputValue(@Nonnull
PointValue inputValue)
This is used by the replication logic.
inputValue - The value to forget.@CheckReturnValue int getLookUpPass()
@Nonnull @CheckReturnValue PointValue getPointValue(@Nonnull BatchValuesQuery batchQuery)
batchQuery - The batch query.@Nonnull @CheckReturnValue Collection<PointValue> getPointValues(@Nonnull BatchValuesQuery batchQuery)
batchQuery - The batch query.@Nonnull @CheckReturnValue Optional<ResultValue> getResultValue(@Nonnull PointValue pointValue)
pointValue - A point value.void queueSignal(@Nonnull
String name,
@Nonnull
Optional<String> info)
name - The signal's name.info - Additional optional informations.@Nullable @CheckReturnValue ResultValue replaceResultValue(@Nonnull ResultValue resultValue, @Nonnull Behavior caller)
resultValue - A result value.caller - The behavior calling this.void scheduleUpdate(@Nonnull
PointValue update)
update - The update.void setCutoff(@Nonnull
Optional<NormalizedValue> pointValue)
An empty point value clears the cutoff.
pointValue - The point value holding the time (clock content).@Nonnull ResultValue setUpResultValue(@Nonnull DateTime stamp, @Nonnull Behavior caller)
stamp - Time specification for the result.caller - The Behavior calling this.@Nonnull ResultValue setUpResultValue(@Nonnull ResultValue newResult, @Nonnull Behavior caller)
newResult - The new result.caller - The behavior calling this.@Nullable ResultValue setUpResultValue(@Nonnull PointValue notice, @Nonnull DateTime stamp, Behavior caller)
notice - The point value triggering the set up of the result.stamp - Time specification for the result.caller - The behavior calling this.void setUpdatesFiltered(boolean updatesFiltered)
updatesFiltered - The updates filtered control value.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.