Exemplo n.º 1
0
 private void resetFile() throws IOException {
   deleteFile();
   try {
     init();
   } catch (final RrdException e) {
     throw createIOException(e);
   }
 }
Exemplo n.º 2
0
  private JRobin(String application, String name, File rrdFile, int step, String requestName)
      throws RrdException, IOException {
    super();
    assert application != null;
    assert name != null;
    assert rrdFile != null;
    assert step > 0;
    // requestName est null pour un compteur

    this.application = application;
    this.name = name;
    this.rrdFileName = rrdFile.getPath();
    this.step = step;
    this.requestName = requestName;

    init();
  }