Javadoc fixes.

pull/361/head
Brett Wooldridge 10 years ago
parent 7a5ff187a8
commit 62ec9cd5f2

@ -52,6 +52,7 @@ public final class CodahaleHealthChecker
* Register Dropwizard health checks.
*
* @param pool the pool to register health checks for
* @param hikariConfig the pool configuration
* @param registry the HealthCheckRegistry into which checks will be registered
*/
public static void registerHealthChecks(final HikariPool pool, final HikariConfig hikariConfig, final HealthCheckRegistry registry)

@ -27,6 +27,7 @@ public class PoolInitializationException extends RuntimeException
/**
* Construct an exception, possibly wrapping the provided Throwable as the cause.
* @param t the Throwable to wrap
*/
public PoolInitializationException(Throwable t)
{

@ -33,8 +33,6 @@ public interface Sequence
/**
* Adds the given value to the current sequence. If delta is negative,
* the Sequential Consistency of this Sequence cannot be guarenteed.
*
* @param delta the value to add
*/
void increment();
@ -46,7 +44,7 @@ public interface Sequence
long get();
/**
* Factory class used to create a platform-specific ClockSource.
* Factory class used to create a platform-specific ClockSource.
*/
public final class Factory
{
@ -74,7 +72,7 @@ public interface Sequence
final class Java7Sequence extends AtomicLong implements Sequence {
Java7Sequence() {
}
@Override
public void increment() {
this.incrementAndGet();
@ -95,7 +93,7 @@ public interface Sequence
private final Object longAdder;
private final Method increment;
private final Method sum;
public DropwizardSequence(Class<?> longAdderClass) throws Exception {
Constructor<?> constructor = longAdderClass.getDeclaredConstructors()[0];
constructor.setAccessible(true);
@ -105,7 +103,7 @@ public interface Sequence
sum.setAccessible(true);
longAdder = constructor.newInstance();
}
@Override
public void increment()
{
@ -116,7 +114,7 @@ public interface Sequence
throw new RuntimeException(e);
}
}
@Override
public long get()
{

Loading…
Cancel
Save