/**
 * 
 */
package me.prettyprint.cassandra.service;

public enum ExhaustedPolicy {
  WHEN_EXHAUSTED_FAIL, WHEN_EXHAUSTED_GROW, WHEN_EXHAUSTED_BLOCK
}
@@ -1,16 +1,4 @@
-/**%0A * %0A */%0A
 pack
@@ -40,81 +40,508 @@
 e;%0A%0A
-public enum ExhaustedPolicy %7B%0A  WHEN_EXHAUSTED_FAIL, WHEN_EXHAUSTED_GROW,
+import me.prettyprint.cassandra.model.PoolExhaustedException;%0A%0A/**%0A * Policy what to do when the connection pool is exhausted.%0A * @author Ran Tavory (rantav@gmail.com)%0A *%0A */%0Apublic enum ExhaustedPolicy %7B%0A  /**%0A   * If the pool is full, fail with the exception %7B@link PoolExhaustedException%7D%0A   */%0A  WHEN_EXHAUSTED_FAIL, %0A  /**%0A   * When pool exhausted, grow.%0A   */%0A  WHEN_EXHAUSTED_GROW, %0A  /**%0A   * Block the requesting thread when the pool is exhausted until new connections are available.%0A   */%0A 
  WHE

add documentation