@Public
@Evolving
public final class RegistryPathStatus
extends java.lang.Object
RegistryOperations.stat() call| Modifier and Type | Field | Description |
|---|---|---|
int |
children |
Number of child nodes
|
java.lang.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 | Description |
|---|---|
RegistryPathStatus(java.lang.String path,
long time,
long size,
int children) |
Construct an instance
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object other) |
Equality operator checks size, time and path of the entries.
|
int |
hashCode() |
The hash code is derived from the path.
|
java.lang.String |
toString() |
public final java.lang.String path
public final long time
public final long size
public final int children
public RegistryPathStatus(java.lang.String path,
long time,
long size,
int children)
path - full pathtime - timesize - entry sizechildren - number of childrenpublic boolean equals(java.lang.Object other)
children.equals in class java.lang.Objectother - the other entrypublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.