Java 类org.apache.hadoop.hbase.regionserver.wal.WALCoprocessorHost 实例源码

项目:ditb    文件:DisabledWALProvider.java   
public DisabledWAL(final Path path, final Configuration conf,
    final List<WALActionsListener> listeners) {
  this.coprocessorHost = new WALCoprocessorHost(this, conf);
  this.path = path;
  if (null != listeners) {
    for(WALActionsListener listener : listeners) {
      registerWALActionsListener(listener);
    }
  }
}
项目:ditb    文件:TestWALFactory.java   
/**
 * A loaded WAL coprocessor won't break existing WAL test cases.
 */
@Test
public void testWALCoprocessorLoaded() throws Exception {
  // test to see whether the coprocessor is loaded or not.
  WALCoprocessorHost host = wals.getWAL(UNSPECIFIED_REGION).getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class.getName());
  assertNotNull(c);
}
项目:pbase    文件:DisabledWALProvider.java   
public DisabledWAL(final Path path, final Configuration conf,
    final List<WALActionsListener> listeners) {
  this.coprocessorHost = new WALCoprocessorHost(this, conf);
  this.path = path;
  if (null != listeners) {
    for(WALActionsListener listener : listeners) {
      registerWALActionsListener(listener);
    }
  }
}
项目:pbase    文件:TestWALFactory.java   
/**
 * A loaded WAL coprocessor won't break existing WAL test cases.
 */
@Test
public void testWALCoprocessorLoaded() throws Exception {
  // test to see whether the coprocessor is loaded or not.
  WALCoprocessorHost host = wals.getWAL(UNSPECIFIED_REGION).getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class.getName());
  assertNotNull(c);
}
项目:hbase    文件:DisabledWALProvider.java   
public DisabledWAL(final Path path, final Configuration conf,
    final List<WALActionsListener> listeners) {
  this.coprocessorHost = new WALCoprocessorHost(this, conf);
  this.path = path;
  if (null != listeners) {
    for(WALActionsListener listener : listeners) {
      registerWALActionsListener(listener);
    }
  }
}
项目:hbase    文件:TestWALFactory.java   
/**
 * A loaded WAL coprocessor won't break existing WAL test cases.
 */
@Test
public void testWALCoprocessorLoaded() throws Exception {
  // test to see whether the coprocessor is loaded or not.
  WALCoprocessorHost host = wals.getWAL(null).getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALCoprocessor.class);
  assertNotNull(c);
}
项目:ditb    文件:DisabledWALProvider.java   
@Override
public WALCoprocessorHost getCoprocessorHost() {
  return coprocessorHost;
}
项目:ditb    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(WAL wal,
    Class<? extends SampleRegionWALObserver> clazz) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(clazz.getName());
  return (SampleRegionWALObserver) c;
}
项目:LCIndex-HBase-0.94.16    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class.getName());
  return (SampleRegionWALObserver)c;
}
项目:pbase    文件:DisabledWALProvider.java   
@Override
public WALCoprocessorHost getCoprocessorHost() {
  return coprocessorHost;
}
项目:pbase    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(WAL wal,
    Class<? extends SampleRegionWALObserver> clazz) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(clazz.getName());
  return (SampleRegionWALObserver) c;
}
项目:HIndex    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class
      .getName());
  return (SampleRegionWALObserver) c;
}
项目:IRIndex    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class.getName());
  return (SampleRegionWALObserver)c;
}
项目:hbase    文件:DisabledWALProvider.java   
@Override
public WALCoprocessorHost getCoprocessorHost() {
  return coprocessorHost;
}
项目:hbase    文件:TestWALObserver.java   
private SampleRegionWALCoprocessor getCoprocessor(WAL wal,
    Class<? extends SampleRegionWALCoprocessor> clazz) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(clazz.getName());
  return (SampleRegionWALCoprocessor) c;
}
项目:PyroDB    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class
      .getName());
  return (SampleRegionWALObserver) c;
}
项目:c5    文件:OLogShim.java   
@Override
public WALCoprocessorHost getCoprocessorHost() {
  return null;
}
项目:c5    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class
      .getName());
  return (SampleRegionWALObserver) c;
}
项目:HBase-Research    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class.getName());
  return (SampleRegionWALObserver)c;
}
项目:hbase-0.94.8-qod    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class.getName());
  return (SampleRegionWALObserver)c;
}
项目:hbase-0.94.8-qod    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class.getName());
  return (SampleRegionWALObserver)c;
}
项目:DominoHBase    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class.getName());
  return (SampleRegionWALObserver)c;
}
项目:hindex    文件:TestWALObserver.java   
private SampleRegionWALObserver getCoprocessor(HLog wal) throws Exception {
  WALCoprocessorHost host = wal.getCoprocessorHost();
  Coprocessor c = host.findCoprocessor(SampleRegionWALObserver.class.getName());
  return (SampleRegionWALObserver)c;
}
项目:ditb    文件:WAL.java   
/**
 * @return Coprocessor host.
 */
WALCoprocessorHost getCoprocessorHost();
项目:pbase    文件:WAL.java   
/**
 * @return Coprocessor host.
 */
WALCoprocessorHost getCoprocessorHost();
项目:hbase    文件:WAL.java   
/**
 * @return Coprocessor host.
 */
WALCoprocessorHost getCoprocessorHost();