Constructor and Description |
---|
BrowserProperties()
Constructs BrowserProperties with default values.
|
Modifier and Type | Method and Description |
---|---|
Endpoint |
getEndpoint()
Returns the Endpoint to browse.
|
int |
getReconnectRetryIntervalInMsecs()
Gets how much time (in ms) to wait between each attempt to reconnect to an endpoint.
|
int |
getReconnectTries()
Gets number of times to attempt to reconnect to an endpoint after the initial bound flow goes down.
|
String |
getSelector()
Returns the browse selector string.
|
int |
getTransportWindowSize()
The TransportWindowSize affects the number of local messages that are
pre-fetched by the Browser.
|
int |
getWaitTimeout()
Returns the WaitTimeout in msecs.
|
BrowserProperties |
setEndpoint(Endpoint endpoint)
Sets the Endpoint to browse.
|
BrowserProperties |
setReconnectRetryIntervalInMsecs(int val)
This property specifies how much time (in ms) to wait between each attempt to reconnect to an endpoint.
|
BrowserProperties |
setReconnectTries(int count)
This property specifies the number of times to attempt to reconnect to an endpoint after the initial bound flow goes down.
|
BrowserProperties |
setSelector(String selector)
Sets the browse selector.
|
void |
setTransportWindowSize(int transportWindowSize)
The TransportWindowSize affects the number of local messages that are
pre-fetched by the Browser.
|
BrowserProperties |
setWaitTimeout(int waitTimeout)
Sets the WaitTimeout in msecs.
|
public BrowserProperties()
BrowserProperties.setEndpoint(Endpoint)
must be called before using this to create
a Browser
.public Endpoint getEndpoint()
public BrowserProperties setEndpoint(Endpoint endpoint)
endpoint
- The Endpoint to browse.public String getSelector()
public BrowserProperties setSelector(String selector)
selector
- Selector string, null for unspecifiedpublic int getWaitTimeout()
getNext()
, the calling
thread is blocked for up to this wait timeout value, if no messages
become available in the local API message buffer. The default is 10000
msecs. Valid range is [50...public BrowserProperties setWaitTimeout(int waitTimeout)
getNext()
, the calling
thread is blocked up to this wait timeout value, if no messages
become available in the local API message buffer. The default is 10000
msecs. Valid range is [50...waitTimeout
- The WaitTimeout in msecs. Valid range is [50...public int getTransportWindowSize()
public void setTransportWindowSize(int transportWindowSize)
transportWindowSize
- The TransportWindowSize. Valid range is [1..255].public int getReconnectTries()
public BrowserProperties setReconnectTries(int count)
public int getReconnectRetryIntervalInMsecs()
public BrowserProperties setReconnectRetryIntervalInMsecs(int val)
Copyright 2004-2024 Solace Corporation. All rights reserved.