public class TestWALEntrySinkFilter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestWALEntrySinkFilter.DevNullConnection
A DevNull Connection whose only purpose is checking what edits made it through.
|
static class |
TestWALEntrySinkFilter.IfTimeIsGreaterThanBOUNDARYWALEntrySinkFilterImpl
Simple filter that will filter out any entry wholse writeTime is <= 5.
|
Modifier and Type | Field and Description |
---|---|
(package private) static int |
BOUNDARY |
static HBaseClassTestRule |
CLASS_RULE |
(package private) static AtomicInteger |
FILTERED |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static org.apache.hadoop.hbase.Stoppable |
STOPPABLE
Implemetentation of Stoppable to pass into ReplicationSink.
|
(package private) static AtomicInteger |
UNFILTERED |
Constructor and Description |
---|
TestWALEntrySinkFilter() |
Modifier and Type | Method and Description |
---|---|
void |
testWALEntryFilter()
Test filter.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
static final int BOUNDARY
static final AtomicInteger UNFILTERED
static final AtomicInteger FILTERED
private static org.apache.hadoop.hbase.Stoppable STOPPABLE
public TestWALEntrySinkFilter()
public void testWALEntryFilter() throws IOException
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.