Class StepLicenseUsageLogger

  • All Implemented Interfaces:
    ch.exense.licensing.client.LicenseUsageLogger

    public class StepLicenseUsageLogger
    extends ch.exense.licensing.client.AbstractAuthoritativeLicenseUsageLogger
    • Field Summary

      • Fields inherited from class ch.exense.licensing.client.AbstractAuthoritativeLicenseUsageLogger

        logger, registry
    • Constructor Summary

      Constructors 
      Constructor Description
      StepLicenseUsageLogger​(ch.exense.licensing.model.ResourceRegistry registry, ch.exense.licensing.trust.Principal principal, boolean clearOnStart)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void log​(ch.exense.licensing.model.ResourceUsage usage)  
      void setCollectionFactory​(step.core.collections.CollectionFactory collectionFactory)  
      • Methods inherited from class ch.exense.licensing.client.AbstractAuthoritativeLicenseUsageLogger

        getAggregatedConsumption, isAuthoritative, process, registerUsageOnStartup, registerUsagesOnStartup, shutdown
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StepLicenseUsageLogger

        public StepLicenseUsageLogger​(ch.exense.licensing.model.ResourceRegistry registry,
                                      ch.exense.licensing.trust.Principal principal,
                                      boolean clearOnStart)
    • Method Detail

      • setCollectionFactory

        public void setCollectionFactory​(step.core.collections.CollectionFactory collectionFactory)
      • log

        protected void log​(ch.exense.licensing.model.ResourceUsage usage)
        Specified by:
        log in class ch.exense.licensing.client.AbstractAuthoritativeLicenseUsageLogger