Interface NaruRetentionPolicy

All Superinterfaces:
net.thevpc.nuts.elem.NToElement
All Known Implementing Classes:
AllRetentionPolicy, AnyRetentionPolicy, DefaultRetentionPolicy, ForeverRetentionPolicy, ForgetRetentionPolicy, MaxConsumersRetentionPolicy, OnceRetentionPolicy, TtlRetentionPolicy

public interface NaruRetentionPolicy extends net.thevpc.nuts.elem.NToElement
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    boolean
     

    Methods inherited from interface net.thevpc.nuts.elem.NToElement

    toElement
  • Method Details

    • shouldDrop

      boolean shouldDrop(NaruEvent event)
    • nextCheckMillis

      long nextCheckMillis(NaruEvent event)