HBASE-26775 - add synchronized modifier to the toString() method of ProcedureEvent.java (#4681)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 74726617b8
)
This commit is contained in:
parent
0a36504848
commit
948b323075
|
@ -126,7 +126,7 @@ public class ProcedureEvent<T> {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
public synchronized String toString() {
|
||||
return getClass().getSimpleName() + " for " + object + ", ready=" + isReady() + ", "
|
||||
+ suspendedProcedures;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue