Package | Description |
---|---|
com.dxfeed.api |
Main package for dxFeed API that provides DXFeed as its core class.
|
com.dxfeed.promise |
Provides
Promise class for request-based APIs that can be used
both synchronously and asynchronously. |
Modifier and Type | Method and Description |
---|---|
abstract <E extends LastingEvent<?>> |
DXFeed.getLastEventPromise(Class<E> eventType,
Object symbol)
Requests the last event for the specified event type and symbol.
|
abstract <E extends TimeSeriesEvent<?>> |
DXFeed.getTimeSeriesPromise(Class<E> eventType,
Object symbol,
long fromTime,
long toTime)
Requests time series of events for the specified event type, symbol, and a range of time.
|
Modifier and Type | Method and Description |
---|---|
static Promise<Void> |
Promises.allOf(Collection<? extends Promise<?>> promises)
Returns a new promise that
completes when all promises from the given collection complete. |
static Promise<Void> |
Promises.allOf(Promise<?>... promises)
Returns a new promise that
completes when all promises from the given array complete. |
static <T> Promise<T> |
Promises.anyOf(Collection<? extends Promise<T>> promises)
Returns a new promise that
completes when any promise from the given collection complete. |
static <T> Promise<T> |
Promises.anyOf(Promise<T>... promises)
Returns a new promise that
completes when any promise from the given array complete. |
Modifier and Type | Method and Description |
---|---|
static Promise<Void> |
Promises.allOf(Promise<?>... promises)
Returns a new promise that
completes when all promises from the given array complete. |
static <T> Promise<T> |
Promises.anyOf(Promise<T>... promises)
Returns a new promise that
completes when any promise from the given array complete. |
void |
PromiseHandler.promiseDone(Promise<? extends T> promise)
|
Modifier and Type | Method and Description |
---|---|
static Promise<Void> |
Promises.allOf(Collection<? extends Promise<?>> promises)
Returns a new promise that
completes when all promises from the given collection complete. |
static <T> Promise<T> |
Promises.anyOf(Collection<? extends Promise<T>> promises)
Returns a new promise that
completes when any promise from the given collection complete. |
Copyright © 2014 Devexperts. All Rights Reserved.