com.ibm.og.json.StoppingConditionsConfig.java Source code

Java tutorial

Introduction

Here is the source code for com.ibm.og.json.StoppingConditionsConfig.java

Source

/* Copyright (c) IBM Corporation 2016. All Rights Reserved.
 * Project name: Object Generator
 * This project is licensed under the Apache License 2.0, see LICENSE.
 */

package com.ibm.og.json;

import java.util.Map;
import java.util.concurrent.TimeUnit;

import com.google.common.collect.Maps;

public class StoppingConditionsConfig {
    public long operations;
    public double runtime;
    public TimeUnit runtimeUnit;
    public Map<Integer, Integer> statusCodes;

    public StoppingConditionsConfig() {
        this.operations = 0;
        this.runtime = 0.0;
        this.runtimeUnit = TimeUnit.SECONDS;
        this.statusCodes = Maps.newHashMap();
    }
}