Package step.plugins.licensing.grid
Class AgentCountLicenseHandler
- java.lang.Object
-
- ch.exense.licensing.client.AbstractLicenseConsumer
-
- ch.exense.licensing.client.SimpleLicenseConsumer
-
- step.plugins.licensing.grid.GridCountLicenseHandler<step.grid.AgentRef,java.lang.String>
-
- step.plugins.licensing.grid.AgentCountLicenseHandler
-
- All Implemented Interfaces:
ch.exense.licensing.client.LicenseConsumer
,ch.exense.licensing.client.LicenseConsumerProvider
,step.grid.tokenpool.RegistrationCallback<step.grid.AgentRef>
public class AgentCountLicenseHandler extends GridCountLicenseHandler<step.grid.AgentRef,java.lang.String>
-
-
Constructor Summary
Constructors Constructor Description AgentCountLicenseHandler(StepLicenseManager licenseManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getHashable(step.grid.AgentRef 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
-
AgentCountLicenseHandler
public AgentCountLicenseHandler(StepLicenseManager licenseManager)
-
-
Method Detail
-
getResource
protected ch.exense.licensing.model.Resource getResource()
- Specified by:
getResource
in classGridCountLicenseHandler<step.grid.AgentRef,java.lang.String>
-
getHashable
protected java.lang.String getHashable(step.grid.AgentRef value)
- Specified by:
getHashable
in classGridCountLicenseHandler<step.grid.AgentRef,java.lang.String>
-
initialize
public void initialize(step.grid.GridImpl gridImpl)
- Specified by:
initialize
in classGridCountLicenseHandler<step.grid.AgentRef,java.lang.String>
-
-