Interface JCoRepositoryMonitor


public interface JCoRepositoryMonitor
Repository monitor provides some additional details about the repository. The monitor instance will be created by JCo.getRepositoryMonitor(id), where id is a value of JCo.getRepositoryIDs().
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the number of the cached class metadata objects.
    Returns the list of destination IDs which can be used by the monitored repository for its DDIC queries.
    int
    Returns the number of the cached function metadata objects.
    long
    Returns the time stamp of the last access to the repository.
    long
    Returns the time stamp of the last remote query done by the repository.
    int
    Return the number of the cached type (tables and structures) metadata objects.
  • Method Details

    • getLastAccessTimestamp

      long getLastAccessTimestamp()
      Returns the time stamp of the last access to the repository.
      Returns:
      time stamp in ms
    • getLastRemoteQueryTimestamp

      long getLastRemoteQueryTimestamp()
      Returns the time stamp of the last remote query done by the repository. 0L will be returned. if no queries were executed so far.
      Returns:
      time stamp in ms
    • getFunctionMetaDataCount

      int getFunctionMetaDataCount()
      Returns the number of the cached function metadata objects.
      Returns:
      number of cached function metadata objects
    • getTypeMetaDataCount

      int getTypeMetaDataCount()
      Return the number of the cached type (tables and structures) metadata objects.
      Returns:
      number of cached type metadata objects
    • getClassMetaDataCount

      int getClassMetaDataCount()
      Return the number of the cached class metadata objects.
      Returns:
      number of cached class metadata objects
    • getDestinationIDs

      List<String> getDestinationIDs()
      Returns the list of destination IDs which can be used by the monitored repository for its DDIC queries. If the repository does not use destinations at all, e.g. it is a custom repository, an empty list will be returned.
      Returns:
      the list of the destination IDs or an empty list