public class ConsumerWatchlistOptions
extends java.lang.Object
| Constructor and Description |
|---|
ConsumerWatchlistOptions() |
| Modifier and Type | Method and Description |
|---|---|
ReactorChannelEventCallback |
channelOpenCallback()
Callback function that is provided when a channel is first opened by Reactor.connect.
|
void |
channelOpenCallback(ReactorChannelEventCallback channelOpenCallback)
Callback function that is provided when a channel is first opened by Reactor.connect.
|
void |
clear()
Clears this object for reuse.
|
boolean |
enableWatchlist()
Is the watchlist enabled.
|
void |
enableWatchlist(boolean enableWatchlist)
Enables the watchlist.
|
int |
itemCountHint()
Set to the number of items the application expects to request.
|
void |
itemCountHint(int itemCountHint)
Set to the number of items the application expects to request.
|
int |
maxOutstandingPosts()
Sets the maximum number of on-stream post acknowledgments that may be outstanding for the channel.
|
void |
maxOutstandingPosts(int maxOutstandingPosts)
Sets the maximum number of on-stream post acknowledgments that may be outstanding for the channel.
|
boolean |
obeyOpenWindow()
Controls whether item requests obey the OpenWindow provided by a service.
|
void |
obeyOpenWindow(boolean obeyOpenWindow)
Controls whether item requests obey the OpenWindow provided by a service.
|
int |
postAckTimeout()
Time a stream will wait for acknowledgment of an on-stream post, in milliseconds.
|
void |
postAckTimeout(int postAckTimeout)
Time a stream will wait for acknowledgment of an on-stream post, in milliseconds.
|
int |
requestTimeout()
Time a requested stream will wait for a response from the provider, in milliseconds.
|
void |
requestTimeout(int requestTimeout)
Time a requested stream will wait for a response from the provider, in milliseconds.
|
public boolean enableWatchlist()
public void enableWatchlist(boolean enableWatchlist)
enableWatchlist - the enable watchlistpublic ReactorChannelEventCallback channelOpenCallback()
public void channelOpenCallback(ReactorChannelEventCallback channelOpenCallback)
channelOpenCallback - the channel open callbackpublic int itemCountHint()
public void itemCountHint(int itemCountHint)
itemCountHint - the item count hintpublic boolean obeyOpenWindow()
public void obeyOpenWindow(boolean obeyOpenWindow)
obeyOpenWindow - whether or not item requests obey OpenWindowpublic int maxOutstandingPosts()
public void maxOutstandingPosts(int maxOutstandingPosts)
maxOutstandingPosts - the max outstanding postspublic int postAckTimeout()
public void postAckTimeout(int postAckTimeout)
postAckTimeout - the post ack timeoutpublic int requestTimeout()
public void requestTimeout(int requestTimeout)
requestTimeout - the request timeoutpublic void clear()
Copyright @ 2019 Thomson Reuters. All Rights Reserved.