Interface HealthCheckServiceAsync

All Superinterfaces:
byps.BRemote, HealthCheckService, byps.Remote, de.elo.utils.net.Remote, Remote
All Known Implementing Classes:
BSkeleton_HealthCheckService

public interface HealthCheckServiceAsync extends byps.BRemote, HealthCheckService
  • Method Details

    • updateMeanValue

      void updateMeanValue(ClientInfo ci, String name, double meanValue, long sampleSize) throws byps.RemoteException
      Description copied from interface: HealthCheckService
      Update arithmetic mean. This function adds the given mean value to the already existing value in the database. The new value is computed as: (db-meanValue * db-sampleSize + meanValue * sampleSize) / (db-sampleSize + sampleSize). Example:
      
       IXConnection conn = ...
       double value = (1.1 + 1.2 + 1.3) / 3;
       conn.getHealthCheckService().updateMeanValue("valuename", 1.2, 3); 
       
      Specified by:
      updateMeanValue in interface HealthCheckService
      Parameters:
      ci - ClientInfo
      name - Value name
      meanValue - New mean value
      sampleSize - Specifies the number of samples used to compute the mean value. This function adds the given mean value to the already existing value in the database. The new value is computed as: (db-meanValue * db-sampleSize + meanValue * sampleSize) / (db-sampleSize + sampleSize). Example:
      
       IXConnection conn = ...
       double value = (1.1 + 1.2 + 1.3) / 3;
       conn.getHealthCheckService().updateMeanValue("valuename", 1.2, 3);
       
      Update arithmetic mean.
      Throws:
      byps.RemoteException
    • updateMeanValue

      void updateMeanValue(ClientInfo ci, String name, double meanValue, long sampleSize, byps.BAsyncResult<Object> asyncResult)
    • updateDoubleValue

      void updateDoubleValue(ClientInfo ci, String name, double doubleValue) throws byps.RemoteException
      Description copied from interface: HealthCheckService
      Update one value. This function overwrites an existing value. Example:
      
       IXConnection conn = ...
       conn.getHealthCheckService().updateDoubleValue("valuename", 1.2); 
       
      Specified by:
      updateDoubleValue in interface HealthCheckService
      Parameters:
      ci - ClientInfo
      name - Value name
      doubleValue - New value Example:
      
       IXConnection conn = ...
       conn.getHealthCheckService().updateDoubleValue("valuename", 1.2);
       
      Update one value. This function overwrites an existing value.
      Throws:
      byps.RemoteException
    • updateDoubleValue

      void updateDoubleValue(ClientInfo ci, String name, double doubleValue, byps.BAsyncResult<Object> asyncResult)
    • computeDoubleValue

      void computeDoubleValue(ClientInfo ci, String hciValueName, double hciUpdateValue, HealthCheckValueOperation hciUpdateOperation) throws byps.RemoteException
      Description copied from interface: HealthCheckService
      Compute value. This function computes a new value using the specified operation. Example:
      
       IXConnection conn = ...
       conn.getHealthCheckService().computeDoubleValue("valuename", 1.2, HealthCheckValueOperation.ADD); 
       
      Specified by:
      computeDoubleValue in interface HealthCheckService
      Parameters:
      ci - ClientInfo
      hciValueName - Value name
      hciUpdateValue - New value
      hciUpdateOperation - Operation used to compute the new value. For
      HealthCheckValueOperation - .MEAN, sample size is assumed as 1. Example:
      
       IXConnection conn = ...
       conn.getHealthCheckService().computeDoubleValue("valuename", 1.2, HealthCheckValueOperation.ADD);
       
      Throws:
      byps.RemoteException
      Since:
      10.00.020.016 Compute value. This function computes a new value using the specified operation.
    • computeDoubleValue

      void computeDoubleValue(ClientInfo ci, String hciValueName, double hciUpdateValue, HealthCheckValueOperation hciUpdateOperation, byps.BAsyncResult<Object> asyncResult)
    • update

      void update(ClientInfo ci, HealthCheckInfo hci) throws byps.RemoteException
      Description copied from interface: HealthCheckService
      Update one value. Example:
      
       IXConnection conn = ...
       HealthCheckInfo hci = new HealthCheckInfo();
       hci.setName("valuename");
       hci.setStringValue("string1");
       conn.getHealthCheckService().update(hci); 
       
      Specified by:
      update in interface HealthCheckService
      Parameters:
      ci - ClientInfo
      hci - HeathCheckInfo object Example:
      
       IXConnection conn = ...
       HealthCheckInfo hci = new HealthCheckInfo();
       hci.setName("valuename");
       hci.setStringValue("string1");
       conn.getHealthCheckService().update(hci);
       
      Update one value.
      Throws:
      byps.RemoteException
    • update

      void update(ClientInfo ci, HealthCheckInfo hci, byps.BAsyncResult<Object> asyncResult)
    • updateAll

      void updateAll(ClientInfo ci, List<HealthCheckInfo> hcis) throws byps.RemoteException
      Description copied from interface: HealthCheckService
      Update given values.
      Specified by:
      updateAll in interface HealthCheckService
      Parameters:
      ci - ClientInfo
      hcis - HeathCheckInfo objects Update given values.
      Throws:
      byps.RemoteException
    • updateAll

      void updateAll(ClientInfo ci, List<HealthCheckInfo> hcis, byps.BAsyncResult<Object> asyncResult)
    • uploadAll

      Object uploadAll(ClientInfo ci, Object reserved) throws byps.RemoteException
      Description copied from interface: HealthCheckService
      Force uploading health check data to web service. This function should only be used in test scenarios. Indexserver automatically uploads health check data one time per month.
      Specified by:
      uploadAll in interface HealthCheckService
      Parameters:
      ci - ClientInfo
      reserved - Reserved, must be null. This function should only be used in test scenarios. Indexserver automatically uploads health check data one time per month.
      Returns:
      reserved Force uploading health check data to web service.
      Throws:
      byps.RemoteException
    • uploadAll

      void uploadAll(ClientInfo ci, Object reserved, byps.BAsyncResult<Object> asyncResult)
    • read

      HealthCheckInfos read(ClientInfo ci, List<String> names) throws byps.RemoteException
      Description copied from interface: HealthCheckService
      Read given health check values.
      Specified by:
      read in interface HealthCheckService
      Parameters:
      ci - ClientInfo
      names -
      Returns:
      HealthChckInfos object. Read given health check values.
      Throws:
      byps.RemoteException
    • read

      void read(ClientInfo ci, List<String> names, byps.BAsyncResult<HealthCheckInfos> asyncResult)