Package step.plugins.licensing.grid
Class TokenCountLicenseHandler
- java.lang.Object
-
- ch.exense.licensing.client.AbstractLicenseConsumer
-
- ch.exense.licensing.client.SimpleLicenseConsumer
-
- step.plugins.licensing.grid.GridCountLicenseHandler<step.grid.TokenWrapper,step.grid.TokenWrapper>
-
- step.plugins.licensing.grid.TokenCountLicenseHandler
-
- All Implemented Interfaces:
ch.exense.licensing.client.LicenseConsumer
,ch.exense.licensing.client.LicenseConsumerProvider
,step.grid.tokenpool.RegistrationCallback<step.grid.TokenWrapper>
public class TokenCountLicenseHandler extends GridCountLicenseHandler<step.grid.TokenWrapper,step.grid.TokenWrapper>
-
-
Constructor Summary
Constructors Constructor Description TokenCountLicenseHandler(StepLicenseManager licenseManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected step.grid.TokenWrapper
getHashable(step.grid.TokenWrapper value)
protected ch.exense.licensing.model.Resource
getResource()
void
initialize(step.grid.GridImpl gridImpl)
-
Methods inherited from class step.plugins.licensing.grid.GridCountLicenseHandler
afterUnregistering, beforeRegistering, getResourcesUsed
-
Methods inherited from class ch.exense.licensing.client.SimpleLicenseConsumer
getConsumerId, getConsumerProviderId, initialize, setCustomerContexts
-
Methods inherited from class ch.exense.licensing.client.AbstractLicenseConsumer
calculateAndMaybeCommit, calculateAndMaybeCommit, calculateAndMaybeCommit, calculateAndMaybeCommit, calculateUsage, commit_MustSynchronize, commit_MustSynchronize, createUsageCalculator, createUsageRequest, createUsageRequest, getDetailedContext, getGlobalGrants, getGlobalUsages, getUsageStrategy, onCommitUsage, setGlobalGrantsAndUsages, shutdown
-
-
-
-
Constructor Detail
-
TokenCountLicenseHandler
public TokenCountLicenseHandler(StepLicenseManager licenseManager)
-
-
Method Detail
-
getResource
protected ch.exense.licensing.model.Resource getResource()
- Specified by:
getResource
in classGridCountLicenseHandler<step.grid.TokenWrapper,step.grid.TokenWrapper>
-
getHashable
protected step.grid.TokenWrapper getHashable(step.grid.TokenWrapper value)
- Specified by:
getHashable
in classGridCountLicenseHandler<step.grid.TokenWrapper,step.grid.TokenWrapper>
-
initialize
public void initialize(step.grid.GridImpl gridImpl)
- Specified by:
initialize
in classGridCountLicenseHandler<step.grid.TokenWrapper,step.grid.TokenWrapper>
-
-