public class ProxyFloatingService extends Object
| Constructor and Description |
|---|
ProxyFloatingService(ProxyConfiguration proxyConfiguration)
Proxy floating service has to be built using the
ProxyConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
com.licensespring.LicenseData |
getLicense()
Fetches license data from the server for the product specified in the ProxyConfiguration
object.
|
com.licensespring.LicenseData |
register()
Register the user.
|
Boolean |
serverHealthy()
Check if the server is healthy.
|
void |
shutdownScheduler()
Calls
ExecutorService.shutdownNow() for the periodic check executor, if period
check is enabled Used for cases where JVM doesn't get the shutdown signal and keeps a thread
running indefinitely |
boolean |
unregister()
Unregister the user.
|
public ProxyFloatingService(ProxyConfiguration proxyConfiguration)
ProxyConfiguration.proxyConfiguration - build via the builder patternpublic com.licensespring.LicenseData register()
throws com.licensespring.model.exceptions.LicenseSpringException
com.licensespring.model.exceptions.LicenseSpringExceptionpublic boolean unregister()
throws com.licensespring.model.exceptions.LicenseSpringException
com.licensespring.model.exceptions.LicenseSpringExceptionpublic com.licensespring.LicenseData getLicense()
throws com.licensespring.model.exceptions.LicenseSpringException
com.licensespring.model.exceptions.LicenseSpringExceptionpublic Boolean serverHealthy() throws com.licensespring.model.exceptions.LicenseSpringException
com.licensespring.model.exceptions.LicenseSpringExceptionpublic void shutdownScheduler()
ExecutorService.shutdownNow() for the periodic check executor, if period
check is enabled Used for cases where JVM doesn't get the shutdown signal and keeps a thread
running indefinitelyCopyright © 2025 Cense Data Inc.. All rights reserved.