Class RegistryPathStatus
java.lang.Object
org.apache.hadoop.registry.client.types.RegistryPathStatus
Output of a
RegistryOperations.stat() call-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRegistryPathStatus(String path, long time, long size, int children) Construct an instance -
Method Summary
-
Field Details
-
path
Short path in the registry to this entry -
time
public final long timeTimestamp -
size
public final long sizeEntry size in bytes, as returned by the storage infrastructure. In zookeeper, even "empty" nodes have a non-zero size. -
children
public final int childrenNumber of child nodes
-
-
Constructor Details
-
RegistryPathStatus
Construct an instance- Parameters:
path- full pathtime- timesize- entry sizechildren- number of children
-
-
Method Details
-
equals
Equality operator checks size, time and path of the entries. It does not checkchildren. -
hashCode
public int hashCode()The hash code is derived from the path. -
toString
-