All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scouterx.webapp.layer.service.HostObjectRequestService Maven / Gradle / Ivy

There is a newer version: 2.20.0
Show newest version
package scouterx.webapp.layer.service;

import scouterx.webapp.framework.client.server.Server;
import scouterx.webapp.layer.consumer.HostObjectRequestConsumer;
import scouterx.webapp.model.HostDiskData;
import scouterx.webapp.model.ProcessObject;

import java.util.List;

/**
 * @author leekyoungil ([email protected]) on 2017. 10. 14.
 *
 * Modified by David Kim ([email protected]) on 2019. 5. 12.
 */
public class HostObjectRequestService {

    private final HostObjectRequestConsumer objectRequestConsumer;

    public HostObjectRequestService() {
        this.objectRequestConsumer = new HostObjectRequestConsumer();
    }

    public List retrieveRealTimeTopByObjType(final int objHash, final Server server) {
        return objectRequestConsumer.retrieveRealTimeTopByObjType(objHash, server);
    }

    // get disk usage information
    public List retrieveRealTimeDiskByObjType(int objHash, Server server) {
        return objectRequestConsumer.retrieveRealTimeDiskByObjType(objHash, server);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy