Package org.nuxeo.connect.client.status
Class ConnectStatusHolder
java.lang.Object
org.nuxeo.connect.client.status.ConnectStatusHolder
- Author:
- Tiry ([email protected])
-
Field Summary
Modifier and TypeFieldDescriptionprotected static ConnectStatusHolder
protected SubscriptionStatusWrapper
protected static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
flush()
long
Returns the registration expiration timestamp included in the CLID, or -1 if the CLID cannot be loaded or doesn't include the expiration timestamp (old v0 format).protected org.nuxeo.connect.registration.ConnectRegistrationService
getStatus
(boolean forceRefresh) static ConnectStatusHolder
instance()
boolean
-
Field Details
-
instance
-
instanceStatus
-
REFRESH_PERIOD_MINUTES
protected static final int REFRESH_PERIOD_MINUTES- See Also:
-
-
Constructor Details
-
ConnectStatusHolder
public ConnectStatusHolder()
-
-
Method Details
-
instance
-
getService
protected org.nuxeo.connect.registration.ConnectRegistrationService getService() -
isRegistered
public boolean isRegistered()- Since:
- 9.2
-
getStatus
-
flush
public void flush() -
getStatus
-
getRegistrationExpirationTimestamp
public long getRegistrationExpirationTimestamp()Returns the registration expiration timestamp included in the CLID, or -1 if the CLID cannot be loaded or doesn't include the expiration timestamp (old v0 format).- Since:
- 10.2
-