Proxied.Abstract
QUERIES_BATCH_LIMIT_PROPERTY, RESPONSE_LIMIT_PROPERTY
ARCHIVE_TIME_PARAM, BIND_POINTS_PARAM, BINDING_PARAM, CONFIRM_PARAM, CONFIRM_RETRIES_PARAM, CONFIRM_RETRY_DELAY_PARAM, DEFAULT_STORE_NAME, LIFE_TIME_PARAM, NAME_PARAM, NULL_REMOVES_PARAM, PASSWORD_PARAM, QUEUE_PARAM, RESPECT_VERSION_PARAM, SECURITY_PARAM, USER_PARAM
Constructor and Description |
---|
AbstractSink() |
Modifier and Type | Method and Description |
---|---|
Optional<StoreValues> |
nextValues()
Returns the next store values to our store queries.
|
StoreValues |
select(StoreValuesQuery query)
Selects the store values for a store query.
|
boolean |
supportsCount()
Asks if this store supports count.
|
accessException, addQuery, addUpdate, bind, bindPoints, bindPoints, canConfirm, close, compareTo, confirm, deliver, doAddQuery, getConfirmRetries, getConfirmRetryDelay, getQueriesBatchLimit, getResponseLimit, getSubscribedValues, getThisLogger, getUpdateCount, getUpdates, getUUID, impersonate, isNullRemoves, iterate, pull, purge, reset, sendUpdates, setConfirmRetries, setQueriesBatchLimit, setResponseLimit, setUp, subscribe, subscribe, supportedValueTypeCodes, supportedValueTypes, supportsDelete, supportsDeliver, supportsPull, supportsPurge, supportsSubscribe, tearDown, unsubscribe
getMetadata, getName, getParams, getProxyEntity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect, getExceptions, getName, getParams, probe, sendUpdates
public Optional<StoreValues> nextValues()
Any pending query is first sent.
public StoreValues select(StoreValuesQuery query) throws InterruptedException, StoreAccessException
The processing of the query must not interfere with the batch operation mode.
query
- The store query.InterruptedException
- When the service is stopped.StoreAccessException
- On store access problem.public boolean supportsCount()
supportsCount
in interface Store
supportsCount
in class AbstractStore
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.