private static final class RegisteredEventListeners.ListenerWrapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private CacheEventListener |
listener |
private NotificationScope |
scope |
Modifier | Constructor and Description |
---|---|
private |
ListenerWrapper(CacheEventListener listener,
NotificationScope scope) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equals based on listener (NOT based on scope) - can't have same listener with two different scopes
|
private CacheEventListener |
getListener() |
private NotificationScope |
getScope() |
int |
hashCode()
Hash code based on listener
|
java.lang.String |
toString() |
private final CacheEventListener listener
private final NotificationScope scope
private ListenerWrapper(CacheEventListener listener, NotificationScope scope)
private CacheEventListener getListener()
private NotificationScope getScope()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object