/** * Add a resource method to the statistics. * * @param resourceMethod Resource method. */ void addMethod(final ResourceMethod resourceMethod) { cached = null; getOrCreate(resourceMethod); }
/** * Create a new builder. * * @param resource Resource for which the instance is created. */ Builder(final Resource resource, final ResourceMethodStatisticsImpl.Factory methodFactory) { this(methodFactory); for (final ResourceMethod method : resource.getResourceMethods()) { getOrCreate(method); } }
/** * Add a resource method to the statistics. * * @param resourceMethod Resource method. */ void addMethod(final ResourceMethod resourceMethod) { cached = null; getOrCreate(resourceMethod); }
/** * Create a new builder. * * @param resource Resource for which the instance is created. */ Builder(final Resource resource, final ResourceMethodStatisticsImpl.Factory methodFactory) { this(methodFactory); for (final ResourceMethod method : resource.getResourceMethods()) { getOrCreate(method); } }
/** * Create a new builder. * * @param resource Resource for which the instance is created. */ Builder(final Resource resource, final ResourceMethodStatisticsImpl.Factory methodFactory) { this(methodFactory); for (final ResourceMethod method : resource.getResourceMethods()) { getOrCreate(method); } }
/** * Create a new builder. * * @param resource Resource for which the instance is created. */ Builder(final Resource resource, final ResourceMethodStatisticsImpl.Factory methodFactory) { this(methodFactory); for (final ResourceMethod method : resource.getResourceMethods()) { getOrCreate(method); } }
/** * Add a resource method to the statistics. * * @param resourceMethod Resource method. */ void addMethod(final ResourceMethod resourceMethod) { cached = null; getOrCreate(resourceMethod); }
/** * Add a resource method to the statistics. * * @param resourceMethod Resource method. */ void addMethod(final ResourceMethod resourceMethod) { cached = null; getOrCreate(resourceMethod); }
/** * Create a new builder. * * @param resource Resource for which the instance is created. */ Builder(final Resource resource, final ResourceMethodStatisticsImpl.Factory methodFactory) { this(methodFactory); for (final ResourceMethod method : resource.getResourceMethods()) { getOrCreate(method); } }
/** * Add a resource method to the statistics. * * @param resourceMethod Resource method. */ void addMethod(final ResourceMethod resourceMethod) { cached = null; getOrCreate(resourceMethod); }
/** * Add a resource method to the statistics. * * @param resourceMethod Resource method. */ void addMethod(final ResourceMethod resourceMethod) { cached = null; getOrCreate(resourceMethod); }
/** * Create a new builder. * * @param resource Resource for which the instance is created. */ Builder(final Resource resource, final ResourceMethodStatisticsImpl.Factory methodFactory) { this(methodFactory); for (final ResourceMethod method : resource.getResourceMethods()) { getOrCreate(method); } }
/** * Create a new builder. * * @param resource Resource for which the instance is created. */ Builder(final Resource resource, final ResourceMethodStatisticsImpl.Factory methodFactory) { this(methodFactory); for (final ResourceMethod method : resource.getResourceMethods()) { getOrCreate(method); } }
/** * Add a resource method to the statistics. * * @param resourceMethod Resource method. */ void addMethod(final ResourceMethod resourceMethod) { cached = null; getOrCreate(resourceMethod); }