Java 类com.vmware.vim25.LicenseDiagnostics 实例源码

项目:vijava    文件:PrintLicense.java   
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);
}
项目:jcloud-vsphere    文件:LicenseManagerApi.java   
/**
 * @deprecated in SDK4.0
 */
@Deprecated
LicenseDiagnostics getDiagnostics();