public class ForestInfo extends Object implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
ForestInfo() |
ForestInfo(String hostName,
long fmCount, boolean updatable, List<ForestHost> replicas) |
Modifier and Type | Method and Description |
---|---|
long |
getFragmentCount() |
String |
getHostName() |
List<ForestHost> |
getReplicas() |
boolean |
getUpdatable() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public ForestInfo()
public ForestInfo(String hostName, long fmCount, boolean updatable, List<ForestHost> replicas)
public long getFragmentCount()
public String getHostName()
public boolean getUpdatable()
public List<ForestHost> getReplicas()
public void readFields(DataInput in) throws IOException
readFields
in
interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in
interface org.apache.hadoop.io.Writable
IOException
Copyright © 2020 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may be found at
developer.marklogic.com