/** * @param rrdDb * @return * @throws IOException * @see org.rrd4j.core.RrdDbPool#getOpenCount(org.rrd4j.core.RrdDb) */ public int getOpenCount(RrdDb rrdDb) throws IOException { return usepool ? instance.getOpenCount(rrdDb) : 0; }
/** * @param path * @return * @throws IOException * @see org.rrd4j.core.RrdDbPool#getOpenCount(java.lang.String) */ public int getOpenCount(String path) throws IOException { return usepool ? instance.getOpenCount(path) : 0; }
/** * @param rrdDb * @return * @throws IOException * @see org.rrd4j.core.RrdDbPool#getOpenCount(org.rrd4j.core.RrdDb) */ public static int getOpenCount(RrdDb rrdDb) throws IOException { return instance.getOpenCount(rrdDb); }
/** * @param path * @return * @throws IOException * @see org.rrd4j.core.RrdDbPool#getOpenCount(java.lang.String) */ public static int getOpenCount(String path) throws IOException { return instance.getOpenCount(path); } }
/** * Returns the number of usage for a RRD. * * @param path RRD's path for which informations is needed. * @return the number of request for this file * @throws java.io.IOException if any. */ public int getOpenCount(String path) throws IOException { return getOpenCount(defaultFactory.getUri(path)); }
/** * Returns the number of usage for a RRD. * * @param rrdDb RrdDb reference for which informations is needed. * @return the number of request for this rrd * @throws java.io.IOException if any. */ public int getOpenCount(RrdDb rrdDb) throws IOException { return getOpenCount(rrdDb.getUri()); }