/** * Open/create an {@link IIndexManager} using the given properties. * <p> * {@inheritDoc} */ @Override public S getStore(Properties properties) { return getOurDelegate().getStore(properties); }
/** * Close the {@link IIndexManager} and re-open an {@link IIndexManager} * backed by the same persistent storage. * <p> * {@inheritDoc} */ @Override public S reopenStore(S store) { return getOurDelegate().reopenStore(store); }
@Override public Properties getProperties() { return getOurDelegate().getProperties(); }
/** * Invoked from {@link TestCase#tearDown()} for each test in the suite. */ @Override public void tearDown(final ProxyTestCase<Journal> testCase) throws Exception { super.tearDown(testCase); // Note: moved into the parent class. // TestHelper.checkJournalsClosed(testCase, this); // deleteTestFile(); }
@Override public Properties getProperties() { return getOurDelegate().getProperties(); }
/** * Invoked from {@link TestCase#tearDown()} for each test in the suite. */ @Override public void tearDown(final ProxyTestCase<Journal> testCase) throws Exception { super.tearDown(testCase); // Note: moved into the parent class. // TestHelper.checkJournalsClosed(testCase, this); // deleteTestFile(); }
m_properties = super.getProperties();
/** * Open/create an {@link IIndexManager} using the given properties. * <p> * {@inheritDoc} */ @Override public S getStore(Properties properties) { return getOurDelegate().getStore(properties); }
/** * Close the {@link IIndexManager} and re-open an {@link IIndexManager} * backed by the same persistent storage. * <p> * {@inheritDoc} */ @Override public S reopenStore(S store) { return getOurDelegate().reopenStore(store); }
m_properties = super.getProperties();
/** * Invoked from {@link TestCase#setUp()} for each test in the suite. */ @Override public void setUp(final ProxyTestCase<Journal> testCase) throws Exception { super.setUp(testCase); TestHelper.checkJournalsClosed(testCase, this); // if(log.isInfoEnabled()) // log.info("\n\n================:BEGIN:" + testCase.getName() // + ":BEGIN:===================="); }
/** * Open/create an {@link IIndexManager} using the properties reported by * {@link #getProperties()}. */ public S getStore() { return getOurDelegate().getStore(getProperties()); }
public Properties getProperties() { Properties properties = new Properties(super.getProperties()); // // Note: uses transient mode for tests. // properties.setProperty(Options.BUFFER_MODE, BufferMode.Transient // .toString()); // when the data are persistent use the test to name the data directory. properties.setProperty(EmbeddedClient.Options.DATA_DIR, dataDir .toString()); // Don't collect statistics from the OS. properties.setProperty( IBigdataClient.Options.COLLECT_PLATFORM_STATISTICS, "false"); // Don't sample the various queues. properties.setProperty(IBigdataClient.Options.COLLECT_QUEUE_STATISTICS, "false"); // Don't run the httpd service. properties.setProperty(IBigdataClient.Options.HTTPD_PORT, "-1"); // Only one data service for the embedded data service. properties.setProperty(EmbeddedClient.Options.NDATA_SERVICES, "1"); // Disable overflow of the live journal. properties.setProperty(OverflowManager.Options.OVERFLOW_ENABLED,"false"); // Disable index partition moves. properties.setProperty(OverflowManager.Options.MAXIMUM_MOVES_PER_TARGET,"0"); return properties; }
/** * Invoked from {@link TestCase#setUp()} for each test in the suite. */ @Override public void setUp(final ProxyTestCase<Journal> testCase) throws Exception { super.setUp(testCase); TestHelper.checkJournalsClosed(testCase, this); // if(log.isInfoEnabled()) // log.info("\n\n================:BEGIN:" + testCase.getName() // + ":BEGIN:===================="); }