Package com.tibco.patterns.deduplication
Class Host
- java.lang.Object
-
- com.tibco.patterns.deduplication.Host
-
public class Host extends java.lang.ObjectContains the address and port of a TIBCO Patterns - Search Engine. Also contains the requested and actual numbers of searchers that will use this host.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAddress()intgetPort()intgetRequestedSearchers()Get the number of searchers set for this host via Deduplicator.setHostWorkerCount.intgetSearchCount()Get the number of actual searchers for this host.booleanisEncrypted()Checks if the network communications to this host are encrypted with SSL/TLS.
-
-
-
Method Detail
-
getPort
public int getPort()
- Returns:
- TCP port of the TIBCO Patterns - Search host.
-
getAddress
public java.lang.String getAddress()
- Returns:
- The address (DNS name or IP Address) of the TIBCO Patterns - Search host.
-
getSearchCount
public int getSearchCount()
Get the number of actual searchers for this host.- Returns:
- the number of actual searchers for this host.
-
isEncrypted
public boolean isEncrypted()
Checks if the network communications to this host are encrypted with SSL/TLS.- Returns:
- true if encryption is enabled.
-
getRequestedSearchers
public int getRequestedSearchers()
Get the number of searchers set for this host via Deduplicator.setHostWorkerCount.- Returns:
- the number of searchers set for this host
-
-