public class ClusterTopologyReader
extends java.lang.Object
LoggedNetworkTopology object.| Constructor | Description |
|---|---|
ClusterTopologyReader(java.io.InputStream input) |
Constructor.
|
ClusterTopologyReader(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
LoggedNetworkTopology |
get() |
Get the
LoggedNetworkTopology object. |
public ClusterTopologyReader(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
path - Path to the JSON-encoded topology file, possibly compressed.conf - java.io.IOExceptionpublic ClusterTopologyReader(java.io.InputStream input)
throws java.io.IOException
input - The input stream for the JSON-encoded topology data.java.io.IOExceptionpublic LoggedNetworkTopology get()
LoggedNetworkTopology object.LoggedNetworkTopology object parsed from the input.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.