Class RegistrationThrottling

java.lang.Object
tigase.server.xmppclient.RegistrationThrottling
All Implemented Interfaces:
UnregisterAware

@Bean(name="registration-throttling", parent=Kernel.class, active=false, exportable=true) public class RegistrationThrottling extends Object implements UnregisterAware
Created by andrzej on 19.11.2016.
  • Field Details

  • Constructor Details

    • RegistrationThrottling

      public RegistrationThrottling()
  • Method Details

    • startFor

      public void startFor(Kernel kernel)
    • stopFor

      public void stopFor(Kernel kernel)
    • beforeUnregister

      public void beforeUnregister()
      Description copied from interface: UnregisterAware
      Method called before bean unregister.
      Specified by:
      beforeUnregister in interface UnregisterAware
    • checkLimits

      protected boolean checkLimits(XMPPIOService service)
    • checkLimits

      protected boolean checkLimits(XMPPIOService service, Packet packet)
    • cleanUp

      protected void cleanUp(List<Long> registrationTimes)
    • cleanUpFromTimer

      protected void cleanUpFromTimer()
    • scheduleCleanUpIfNeeded

      protected void scheduleCleanUpIfNeeded()