|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.registry.client.types.RegistryPathStatus
@InterfaceAudience.Public @InterfaceStability.Evolving public final class RegistryPathStatus
Output of a RegistryOperations.stat()
call
Field Summary | |
---|---|
int |
children
Number of child nodes |
String |
path
Short path in the registry to this entry |
long |
size
Entry size in bytes, as returned by the storage infrastructure. |
long |
time
Timestamp |
Constructor Summary | |
---|---|
RegistryPathStatus(String path,
long time,
long size,
int children)
Construct an instance |
Method Summary | |
---|---|
boolean |
equals(Object other)
Equality operator checks size, time and path of the entries. |
int |
hashCode()
The hash code is derived from the path. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final String path
public final long time
public final long size
public final int children
Constructor Detail |
---|
public RegistryPathStatus(String path, long time, long size, int children)
path
- full pathtime
- timesize
- entry sizechildren
- number of childrenMethod Detail |
---|
public boolean equals(Object other)
children
.
equals
in class Object
other
- the other entry
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |