Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,26 @@ boolean isSpecialPath(String path) {
|| configZookeeper.equals(path);
}

/**
* Use {@link StatPersisted#copyFrom(StatPersisted)} instead.
*
* <p>Apache Curator uses it, let's keep it for now to let them and their clients to react.
*/
@Deprecated
public static void copyStatPersisted(StatPersisted from, StatPersisted to) {
to.copyFrom(from);
}

/**
* Use {@link Stat#copyFrom(Stat)} instead.
*
* <p> Apache Curator uses it, let's keep it for now to let them and their clients to react.
*/
@Deprecated
public static void copyStat(Stat from, Stat to) {
to.copyFrom(from);
}

/**
* update the count/bytes of this stat data node
*
Expand Down