public enum EventType extends Enum<EventType>
| 枚举常量和说明 |
|---|
CONNECTION_LOST |
CONNECTION_RECONNECTED |
CONNECTION_SUSPENDED |
INITIALIZED |
NodeChildrenChanged |
NodeCreated |
NodeDataChanged |
NodeDeleted |
None |
public static final EventType None
public static final EventType NodeCreated
public static final EventType NodeDeleted
public static final EventType NodeDataChanged
public static final EventType NodeChildrenChanged
public static final EventType CONNECTION_SUSPENDED
public static final EventType CONNECTION_RECONNECTED
public static final EventType CONNECTION_LOST
public static final EventType INITIALIZED
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getIntValue()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.