@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.TOOLS) public class ZKServerTool {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) @InterfaceStability.Evolving public interface OnlineRegions extends Server {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.CONFIG) public class TimeToLiveLogCleaner extends BaseLogCleanerDelegate { private static final Log LOG = LogFactory.getLog(TimeToLiveLogCleaner.class.getName());
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.TOOLS) @InterfaceStability.Stable public class Driver {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) @InterfaceStability.Evolving public interface EndpointObserver extends Coprocessor {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.TOOLS) public class MapreduceDependencyClasspathTool implements Tool {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) @InterfaceStability.Evolving public class BaseWALObserver implements WALObserver {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.REPLICATION) public class ChainWALEntryFilter implements WALEntryFilter {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.CONFIG) public class TimeToLiveHFileCleaner extends BaseHFileCleanerDelegate {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) @InterfaceStability.Evolving public abstract class BaseRowProcessor<S extends Message,T extends Message>
@InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX}) @InterfaceStability.Evolving public interface RpcServerInterface {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.CONFIG) public class NoLimitCompactionThroughputController implements CompactionThroughputController {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.CONFIG) public class InclusiveCombinedBlockCache extends CombinedBlockCache implements BlockCache { public InclusiveCombinedBlockCache(LruBlockCache l1, BlockCache l2) {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.REPLICATION) static class ReplicateContext { List<Entry> entries;
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.CONFIG) public class CompactionThroughputControllerFactory {
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) @InterfaceStability.Evolving public interface Coprocessor {
/** Constructs a {@link SimpleRpcScheduler}. */ @InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX}) @InterfaceStability.Evolving public class SimpleRpcSchedulerFactory implements RpcSchedulerFactory { @Override @Deprecated public RpcScheduler create(Configuration conf, PriorityFunction priority) { return create(conf, priority, null); } @Override public RpcScheduler create(Configuration conf, PriorityFunction priority, Abortable server) { int handlerCount = conf.getInt(HConstants.REGION_SERVER_HANDLER_COUNT, HConstants.DEFAULT_REGION_SERVER_HANDLER_COUNT); return new SimpleRpcScheduler( conf, handlerCount, conf.getInt(HConstants.REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT, HConstants.DEFAULT_REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT), conf.getInt(HConstants.REGION_SERVER_REPLICATION_HANDLER_COUNT, HConstants.DEFAULT_REGION_SERVER_REPLICATION_HANDLER_COUNT), priority, server, HConstants.QOS_THRESHOLD); } }
/** * A utility that constrains the total throughput of one or more simultaneous flows (compactions) by * sleeping when necessary. */ @InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.CONFIG) public interface CompactionThroughputController extends Stoppable { /** * Setup controller for the given region server. */ void setup(RegionServerServices server); /** * Start a compaction. */ void start(String compactionName); /** * Control the compaction throughput. Will sleep if too fast. * @return the actual sleep time. */ long control(String compactionName, long size) throws InterruptedException; /** * Finish a compaction. Should call this method in a finally block. */ void finish(String compactionName); }
/** * Function to figure priority of incoming request. */ @InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX}) @InterfaceStability.Evolving public interface PriorityFunction { /** * Returns the 'priority type' of the specified request. * The returned value is mainly used to select the dispatch queue. * @param header * @param param * @param user * @return Priority of this request. */ int getPriority(RequestHeader header, Message param, User user); /** * Returns the deadline of the specified request. * The returned value is used to sort the dispatch queue. * @param header * @param param * @return Deadline of this request. 0 now, otherwise msec of 'delay' */ long getDeadline(RequestHeader header, Message param); }
@InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX}) public abstract class BaseEncoder implements Codec.Encoder { protected final OutputStream out;