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

scouterx.webapp.layer.service.VisitorService 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.VisitorConsumer;

import java.util.List;

/**
 * Created by geonheelee on 2017. 10. 13..
 */
public class VisitorService {

    private final VisitorConsumer visitorConsumer;

    public VisitorService() {
        this.visitorConsumer = new VisitorConsumer();
    }

    public long retrieveRealTimeVisitorByObj(int objHash, Server server){
        return visitorConsumer.retrieveRealTimeVisitorByObj(objHash, server);
    }

    public long retrieveRealTimeVisitorByObjType(String objHash, Server server){
        return visitorConsumer.retrieveRealTimeVisitorByObjType(objHash, server);
    }

    public long retrieveRealTimeVisitorByObjHashes(List objHashes, Server server){
        return visitorConsumer.retrieveRealTimeVisitorByObjHashes(objHashes, server);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy