| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDirectBuffers()
|
boolean |
isReorderRefresh()
Check if client is configured to reorder requests
when refreshing data.
|
void |
setDirectBuffers(boolean enable)
Enable the client to provide parsers with
direct buffer access to the raw API data.
|
void |
setReorderRefresh(boolean enable)
Switches the client ability to reorder requests
when refreshing data.
|
public boolean isDirectBuffers()
setDirectBuffers(boolean)public void setDirectBuffers(boolean enable)
When enabled, the parsers provided by one of the load
or open methods,
must be executed immediately
thereafter and by the same thread. To allow for delegating processing
to another thread, caller must isolate the parser, which effectively
copies direct API buffer to a byte array, providing for safe execution by another thread.
enable - enable direct buffer access.public boolean isReorderRefresh()
public void setReorderRefresh(boolean enable)
enable - enable built in reordering.isReorderRefresh()