Search in sources :

Example 1 with WriterThread

use of org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.WriterThread in project hbase by apache.

the class TestBucketCacheRefCnt method disableWriter.

private void disableWriter() {
    if (cache != null) {
        for (WriterThread wt : cache.writerThreads) {
            wt.disableWriter();
            wt.interrupt();
        }
    }
}
Also used : WriterThread(org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.WriterThread)

Aggregations

WriterThread (org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.WriterThread)1