@Internal public class BasicAuthSempClient extends java.lang.Object implements SempClient
This class provides methods to check necessary information, such as if the queue is non-exclusive, remaining backlog bytes of a queue. It can also create and execute calls to create queue for a topic.
| Constructor and Description | 
|---|
BasicAuthSempClient(java.lang.String host,
                   java.lang.String username,
                   java.lang.String password,
                   java.lang.String vpnName,
                   org.apache.beam.sdk.util.SerializableSupplier<com.google.api.client.http.HttpRequestFactory> httpRequestFactorySupplier)  | 
| Modifier and Type | Method and Description | 
|---|---|
com.solacesystems.jcsmp.Queue | 
createQueueForTopic(java.lang.String queueName,
                   java.lang.String topicName)
This is only called when a user requests to read data from a topic. 
 | 
long | 
getBacklogBytes(java.lang.String queueName)
Retrieves the size of the backlog (in bytes) for the specified queue. 
 | 
boolean | 
isQueueNonExclusive(java.lang.String queueName)
Determines if the specified queue is non-exclusive. 
 | 
public BasicAuthSempClient(java.lang.String host,
                           java.lang.String username,
                           java.lang.String password,
                           java.lang.String vpnName,
                           org.apache.beam.sdk.util.SerializableSupplier<com.google.api.client.http.HttpRequestFactory> httpRequestFactorySupplier)
public boolean isQueueNonExclusive(java.lang.String queueName)
                            throws java.io.IOException
SempClientisQueueNonExclusive in interface SempClientjava.io.IOExceptionpublic com.solacesystems.jcsmp.Queue createQueueForTopic(java.lang.String queueName,
                                                         java.lang.String topicName)
                                                  throws java.io.IOException
SempClientcreateQueueForTopic in interface SempClientjava.io.IOExceptionpublic long getBacklogBytes(java.lang.String queueName)
                     throws java.io.IOException
SempClientgetBacklogBytes in interface SempClientjava.io.IOException