Home | History | Annotate | Download | only in fs

Lines Matching defs:Event

38      * Maximum size of event list (in the future this may be tunable)
43 * Special event to signal overflow
45 static final Event<Object> OVERFLOW_EVENT =
46 new Event<Object>(StandardWatchEventKinds.OVERFLOW, null);
65 // maps a context to the last event for the context (iff the last queued
66 // event for the context is an ENTRY_MODIFY event).
102 * Adds the event to this key and signals it.
110 // if the previous event is an OVERFLOW event or this is a
111 // repeated event then we simply increment the counter
117 ((Event<?>)prev).increment();
121 // if this is a modify event and the last entry for the context
122 // is a modify event then we simply increment the count
128 ((Event<?>)ev).increment();
132 // not a modify event so remove from the map as the
133 // last event will no longer be a modify event.
139 // and queue an OVERFLOW event
147 // non-repeated event
148 Event<Object> ev =
149 new Event<Object>((WatchEvent.Kind<Object>)kind, context);
190 private static class Event<T> implements WatchEvent<T> {
197 Event(WatchEvent.Kind<T> type, T context) {