static void printDiagnostics(LicenseDiagnostics ld) { if(ld==null) return; String prtStr = "LastStatusUpdate:" + ld.getLastStatusUpdate().getTime() + "\nLicenseFeatureUnknown:" + ld.getLicenseFeatureUnknowns() + "\nLicneseRequestFailures:" + ld.getLicenseRequestFailures() + "\nLicenseReqeusts:" + ld.getLicenseRequests() + "\nOpFailiureMessage:" + ld.getOpFailureMessage() + "\nOpState:" + ld.getOpState() + "\nSourceLastChanged:" + ld.getSourceLastChanged().getTime() + "\nsourceLatency:" + ld.getSourceLatency() + "\nsourceLost:" + ld.getSourceLost(); System.out.println(prtStr); }
/** * @deprecated in SDK4.0 */ @Deprecated LicenseDiagnostics getDiagnostics();