public class CookieStoreCleanupTrigger extends AbstractEventHandler<InstanceDeregisteredEvent>
Instance
specific data in PerInstanceCookieStore on receiving an
InstanceDeregisteredEvent.| Constructor and Description |
|---|
CookieStoreCleanupTrigger(org.reactivestreams.Publisher<InstanceEvent> publisher,
PerInstanceCookieStore cookieStore)
Creates a trigger to cleanup the cookie store on deregistering of an
Instance. |
| Modifier and Type | Method and Description |
|---|---|
protected org.reactivestreams.Publisher<Void> |
handle(reactor.core.publisher.Flux<InstanceDeregisteredEvent> publisher) |
createScheduler, start, stoppublic CookieStoreCleanupTrigger(org.reactivestreams.Publisher<InstanceEvent> publisher, PerInstanceCookieStore cookieStore)
Instance.publisher - publisher of InstanceEvents eventscookieStore - the store to inform about deregistration of an
Instanceprotected org.reactivestreams.Publisher<Void> handle(reactor.core.publisher.Flux<InstanceDeregisteredEvent> publisher)
handle in class AbstractEventHandler<InstanceDeregisteredEvent>Copyright © 2021 codecentric AG. All rights reserved.