@InterfaceAudience.Public @InterfaceStability.Evolving public final class RegistryPathStatus extends Object
RegistryOperations.stat()
callModifier and Type | Field and Description |
---|---|
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 and Description |
---|
RegistryPathStatus(String path,
long time,
long size,
int children)
Construct an instance
|
Modifier and Type | Method and Description |
---|---|
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() |
public final String path
public final long time
public final long size
public final int children
public RegistryPathStatus(String path, long time, long size, int children)
path
- full pathtime
- timesize
- entry sizechildren
- number of childrenCopyright © 2024 Apache Software Foundation. All rights reserved.