public class LoadedRoleHistory extends Object
| Modifier and Type | Field and Description |
|---|---|
List<NodeEntryRecord> |
records |
Map<String,Integer> |
roleMap |
| Constructor and Description |
|---|
LoadedRoleHistory() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(NodeEntryRecord record)
Add a record
|
void |
buildMapping(Map<CharSequence,Integer> source) |
RoleHistoryHeader |
getHeader() |
org.apache.hadoop.fs.Path |
getPath() |
void |
setHeader(RoleHistoryHeader header) |
void |
setPath(org.apache.hadoop.fs.Path path) |
int |
size()
Number of loaded records
|
public final List<NodeEntryRecord> records
public void add(NodeEntryRecord record)
record - public int size()
public RoleHistoryHeader getHeader()
public void setHeader(RoleHistoryHeader header)
public org.apache.hadoop.fs.Path getPath()
public void setPath(org.apache.hadoop.fs.Path path)
public void buildMapping(Map<CharSequence,Integer> source)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.