# Uses of Class
com.sas.services.connection.HostPortSet

Packages that use HostPortSet
Package
Description
com.sas.services.connection
Service for making and managing connections to IOM servers.
com.sas.services.information
Interact with data repositories on behalf of client applications.

- ## Uses of HostPortSet in com.sas.services.connection

  Methods in com.sas.services.connection that return HostPortSet
  Modifier and Type
  Method
  Description
  `static HostPortSet`
  MetadataClusterUtil.`getClusterHostPortSet()`
  Returns host/port collection for metadata server cluster as defined in the application properties table.
  `static HostPortSet`
  HostPortSet.`newInstance(String hostProperty, String portProperty)`
  Create a new HostPortSet object from a list of host and ports.
  Methods in com.sas.services.connection with parameters of type HostPortSet
  Modifier and Type
  Method
  Description
  `static Cluster`
  MetadataClusterUtil.`createCluster(HostPortSet clusterNodes, Map<String,String> options)`
  Convenience method for creating a metadata cluster.
  `boolean`
  HostPortSet.`intersects(HostPortSet set)`
  Returns true if any HostPortPair in the specified set is contained in this set.

- ## Uses of HostPortSet in com.sas.services.information

  Methods in com.sas.services.information that return HostPortSet
  Modifier and Type
  Method
  Description
  `HostPortSet`
  OMIServer.`getClusterConnections()`