use of org.apache.geode.internal.cache.wan.AbstractGatewaySender.EventWrapper in project geode by apache.
the class SerialGatewaySenderEventProcessor method releaseUnprocessedEvents.
private void releaseUnprocessedEvents() {
synchronized (this.unprocessedEventsLock) {
Map<EventID, EventWrapper> m = this.unprocessedEvents;
if (m != null) {
for (EventWrapper ew : m.values()) {
GatewaySenderEventImpl gatewayEvent = ew.event;
gatewayEvent.release();
}
this.unprocessedEvents = null;
}
}
}
Aggregations