public class ClusterTopologyReader extends Object
LoggedNetworkTopology object.| Constructor and Description |
|---|
ClusterTopologyReader(InputStream input)
Constructor.
|
ClusterTopologyReader(Path path,
Configuration conf)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LoggedNetworkTopology |
get()
Get the
LoggedNetworkTopology object. |
public ClusterTopologyReader(Path path, Configuration conf) throws IOException
path - Path to the JSON-encoded topology file, possibly compressed.conf - IOExceptionpublic ClusterTopologyReader(InputStream input) throws IOException
input - The input stream for the JSON-encoded topology data.IOExceptionpublic LoggedNetworkTopology get()
LoggedNetworkTopology object.LoggedNetworkTopology object parsed from the input.Copyright © 2018 CERN. All Rights Reserved.