public static class TestCoprocessorInterface.CoprocessorImpl extends Object implements org.apache.hadoop.hbase.coprocessor.RegionCoprocessor, org.apache.hadoop.hbase.coprocessor.RegionObserver
Modifier and Type | Field and Description |
---|---|
private boolean |
postCloseCalled |
private boolean |
postCompactCalled |
private boolean |
postFlushCalled |
private boolean |
postOpenCalled |
private boolean |
preCloseCalled |
private boolean |
preCompactCalled |
private boolean |
preFlushCalled |
private boolean |
preOpenCalled |
private ConcurrentMap<String,Object> |
sharedData |
private boolean |
startCalled |
private boolean |
stopCalled |
Constructor and Description |
---|
CoprocessorImpl() |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.hadoop.hbase.coprocessor.RegionObserver> |
getRegionObserver() |
(package private) Map<String,Object> |
getSharedData() |
void |
postClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
boolean abortRequested) |
void |
postCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.StoreFile resultFile,
org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker,
org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) |
void |
postFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) |
void |
postOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e) |
org.apache.hadoop.hbase.regionserver.RegionScanner |
postScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.client.Scan scan,
org.apache.hadoop.hbase.regionserver.RegionScanner s) |
void |
preClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
boolean abortRequested) |
org.apache.hadoop.hbase.regionserver.InternalScanner |
preCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.InternalScanner scanner,
org.apache.hadoop.hbase.regionserver.ScanType scanType,
org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker,
org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) |
void |
preFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) |
void |
preOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e) |
void |
start(org.apache.hadoop.hbase.CoprocessorEnvironment e) |
void |
stop(org.apache.hadoop.hbase.CoprocessorEnvironment e) |
(package private) boolean |
wasClosed() |
(package private) boolean |
wasCompacted() |
(package private) boolean |
wasFlushed() |
(package private) boolean |
wasOpened() |
(package private) boolean |
wasStarted() |
(package private) boolean |
wasStopped() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBulkLoadObserver, getEndpointObserver
postAppend, postAppend, postAppendBeforeWAL, postBatchMutate, postBatchMutateIndispensably, postBulkLoadHFile, postCheckAndDelete, postCheckAndDelete, postCheckAndMutate, postCheckAndPut, postCheckAndPut, postCloseRegionOperation, postCommitStoreFile, postCompactSelection, postDelete, postDelete, postExists, postFlush, postGetOp, postIncrement, postIncrement, postIncrementBeforeWAL, postInstantiateDeleteTracker, postMemStoreCompaction, postMutationBeforeWAL, postPut, postPut, postReplayWALs, postScannerClose, postScannerFilterRow, postScannerNext, postStartRegionOperation, postStoreFileReaderOpen, postWALRestore, preAppend, preAppend, preAppendAfterRowLock, preBatchMutate, preBulkLoadHFile, preCheckAndDelete, preCheckAndDelete, preCheckAndDeleteAfterRowLock, preCheckAndDeleteAfterRowLock, preCheckAndMutate, preCheckAndMutateAfterRowLock, preCheckAndPut, preCheckAndPut, preCheckAndPutAfterRowLock, preCheckAndPutAfterRowLock, preCommitStoreFile, preCompactScannerOpen, preCompactSelection, preDelete, preDelete, preExists, preFlush, preFlushScannerOpen, preGetOp, preIncrement, preIncrement, preIncrementAfterRowLock, preMemStoreCompaction, preMemStoreCompactionCompact, preMemStoreCompactionCompactScannerOpen, prePrepareTimeStampForDeleteVersion, prePut, prePut, preReplayWALs, preScannerClose, preScannerNext, preScannerOpen, preStoreFileReaderOpen, preStoreScannerOpen, preWALAppend, preWALRestore
private boolean startCalled
private boolean stopCalled
private boolean preOpenCalled
private boolean postOpenCalled
private boolean preCloseCalled
private boolean postCloseCalled
private boolean preCompactCalled
private boolean postCompactCalled
private boolean preFlushCalled
private boolean postFlushCalled
private ConcurrentMap<String,Object> sharedData
public CoprocessorImpl()
public void start(org.apache.hadoop.hbase.CoprocessorEnvironment e)
start
in interface org.apache.hadoop.hbase.Coprocessor
public void stop(org.apache.hadoop.hbase.CoprocessorEnvironment e)
stop
in interface org.apache.hadoop.hbase.Coprocessor
public Optional<org.apache.hadoop.hbase.coprocessor.RegionObserver> getRegionObserver()
getRegionObserver
in interface org.apache.hadoop.hbase.coprocessor.RegionCoprocessor
public void preOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e)
preOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public void postOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e)
postOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public void preClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, boolean abortRequested)
preClose
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public void postClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, boolean abortRequested)
postClose
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public org.apache.hadoop.hbase.regionserver.InternalScanner preCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.ScanType scanType, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request)
preCompact
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public void postCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.StoreFile resultFile, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request)
postCompact
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public void preFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker)
preFlush
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public void postFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker)
postFlush
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public org.apache.hadoop.hbase.regionserver.RegionScanner postScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.regionserver.RegionScanner s) throws IOException
postScannerOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
boolean wasStarted()
boolean wasStopped()
boolean wasOpened()
boolean wasClosed()
boolean wasFlushed()
boolean wasCompacted()
Map<String,Object> getSharedData()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.