JDBCSequentialFileFactory implements SequentialFileFactory, ActiveMQComponent { @Override public boolean isStarted() { return started; } JDBCSequentialFileFactory(final JDBCConnectionProvider connectionProvider,
                                    final SQLProvider sqlProvider,
                                    Executor executor,
                                    IOCriticalErrorListener criticalErrorListener); JDBCSequentialFileFactoryDriver getDbDriver(); @Override SequentialFileFactory setDatasync(boolean enabled); @Override boolean isDatasync(); @Override long getBufferSize(); @Override synchronized void start(); @Override synchronized void stop(); @Override SequentialFile createSequentialFile(String fileName); void sequentialFileClosed(SequentialFile file); int getNumberOfOpenFiles(); @Override int getMaxIO(); @Override List<String> listFiles(String extension); @Override boolean isSupportsCallbacks(); @Override void onIOError(Exception exception, String message, SequentialFile file); @Override ByteBuffer allocateDirectBuffer(final int size); @Override void releaseDirectBuffer(ByteBuffer buffer); @Override ByteBuffer newBuffer(final int size); @Override void clearBuffer(final ByteBuffer buffer); @Override ByteBuffer wrapBuffer(final byte[] bytes); @Override int getAlignment(); @Override JDBCSequentialFileFactory setAlignment(int alignment); @Override int calculateBlockSize(final int bytes); @Override void deactivateBuffer(); @Override void releaseBuffer(final ByteBuffer buffer); @Override void activateBuffer(SequentialFile file); @Override File getDirectory(); @Override boolean isStarted(); @Override void createDirs(); @Override void flush(); synchronized void destroy();  }
@Test public void testJDBCFileFactoryStarted() throws Exception { assertTrue(factory.isStarted()); }