| Modifier and Type | Method and Description |
|---|---|
SubscriptionBuilder<T> |
SubscriptionBuilder.expireAfter(long maxCalls)
Sets the number of calls until the handler will automatically be unregistered
|
SubscriptionBuilder<T> |
SubscriptionBuilder.expireAfter(long duration,
TimeUnit unit)
Sets the expiry time on the handler
|
SubscriptionBuilder<T> |
SubscriptionBuilder.expireIf(Predicate<T> predicate)
Add a expiry predicate.
|
SubscriptionBuilder<T> |
SubscriptionBuilder.filter(Predicate<T> predicate)
Adds a filter to the handler.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MergedSubscriptionBuilder<T>
Functional builder for
MergedSubscriptions. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ProtocolSubscriptionBuilder
Functional builder for
ProtocolSubscriptions. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SingleSubscriptionBuilder<T extends org.bukkit.event.Event>
Functional builder for
SingleSubscriptions. |
Copyright © 2022. All rights reserved.