/** * Coprocessor endpoints providing protobuf services should implement this * interface and return the {@link Service} instance via {@link #getService()}. */ @InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) @InterfaceStability.Evolving public interface CoprocessorService { Service getService(); }
@InterfaceAudience.Private @InterfaceStability.Evolving public final class TagType { // Please declare new Tag Types here to avoid step on pre-existing tag types. public static final byte ACL_TAG_TYPE = (byte) 1; public static final byte VISIBILITY_TAG_TYPE = (byte) 2; // public static final byte LOG_REPLAY_TAG_TYPE = (byte) 3; // deprecated public static final byte VISIBILITY_EXP_SERIALIZATION_FORMAT_TAG_TYPE = (byte)4; // String based tag type used in replication public static final byte STRING_VIS_TAG_TYPE = (byte) 7; public static final byte TTL_TAG_TYPE = (byte)8; }
/** * This exception is thrown by the master when a region server clock skew is * too high. */ @SuppressWarnings("serial") @InterfaceAudience.Public @InterfaceStability.Stable public class ClockOutOfSyncException extends IOException { public ClockOutOfSyncException(String message) { super(message); } }
/** * A CellScanner that knows its size in memory in bytes. * Used playing the CellScanner into an in-memory buffer; knowing the size ahead of time saves * on background buffer resizings. */ @InterfaceAudience.Private @InterfaceStability.Unstable public interface SizedCellScanner extends CellScanner, HeapSize {}
/** * This exception is thrown when a region server is asked to open or close * a region but it's already processing it */ @SuppressWarnings("serial") @InterfaceAudience.Public @InterfaceStability.Stable public class RegionAlreadyInTransitionException extends IOException { public RegionAlreadyInTransitionException(String s) { super(s); } }
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) @InterfaceStability.Evolving public interface WALCoprocessorEnvironment extends CoprocessorEnvironment { /** @return reference to the region server's WAL */ WAL getWAL(); }
/** * Listens for asynchronous exceptions on a {@link BufferedMutator}. */ @InterfaceAudience.Public @InterfaceStability.Evolving interface ExceptionListener { public void onException(RetriesExhaustedWithDetailsException exception, BufferedMutator mutator) throws RetriesExhaustedWithDetailsException; } }
/** * Thrown by the region server when it is in shutting down state. * @see RegionServerAbortedException */ @SuppressWarnings("serial") @InterfaceAudience.Public @InterfaceStability.Evolving public class RegionServerStoppedException extends IOException { public RegionServerStoppedException(String s) { super(s); } }