Class EdgeHistoryLicense
java.lang.Object
com.inductiveautomation.historian.gateway.license.EdgeHistoryLicense
- All Implemented Interfaces:
LicenseStateUpdateListener,EventListener
-
Method Summary
Modifier and TypeMethodDescriptionstatic EdgeHistoryLicensecreate(GatewayContext context) I prefer this static creation in order to avoid implying the adding of listeners in the constructor.booleanisActive()static booleanisActive(GatewayContext context) Returns whether tag history is available and not demo expired.booleanstatic booleanisUnlimited(GatewayContext context) We allow unlimited local history with any kind of historian license installed.voidThe LicenseState for the module specified in the LicenseStateChangeEvent has been updated.protected voidvoidshutdown()voidstartup()
-
Method Details
-
create
I prefer this static creation in order to avoid implying the adding of listeners in the constructor. That is, it balances shutdown() -
startup
public void startup() -
shutdown
public void shutdown() -
isActive
public boolean isActive() -
isUnlimited
public boolean isUnlimited() -
licenseStateUpdated
Description copied from interface:LicenseStateUpdateListenerThe LicenseState for the module specified in the LicenseStateChangeEvent has been updated. Module id of empty-string represents the license state for the Ignition platform itself.- Specified by:
licenseStateUpdatedin interfaceLicenseStateUpdateListener- Parameters:
e- The LicenseStateUpdateEvent
-
refreshState
protected void refreshState() -
isActive
Returns whether tag history is available and not demo expired. -
isUnlimited
We allow unlimited local history with any kind of historian license installed.
-