public class CachingTableFactory extends ForwardingTableFactory
TableFactory with optional caching for MessageTable that it creates.| Modifier and Type | Field and Description |
|---|---|
static String |
DELEGATE_TABLE_FACTORY |
| Modifier and Type | Method and Description |
|---|---|
MessageTable |
createMessageTable(String tableName) |
MetadataTable |
createMetadataTable(String tableName) |
PayloadTable |
createPayloadTable(String tableName) |
TableFactory |
getDelegate()
Returns the
TableFactory that this class forwards to. |
public static final String DELEGATE_TABLE_FACTORY
public TableFactory getDelegate()
ForwardingTableFactoryTableFactory that this class forwards to.getDelegate in class ForwardingTableFactorypublic MetadataTable createMetadataTable(String tableName) throws IOException
createMetadataTable in interface TableFactorycreateMetadataTable in class ForwardingTableFactoryIOExceptionpublic MessageTable createMessageTable(String tableName) throws IOException
createMessageTable in interface TableFactorycreateMessageTable in class ForwardingTableFactoryIOExceptionpublic PayloadTable createPayloadTable(String tableName) throws IOException
createPayloadTable in interface TableFactorycreatePayloadTable in class ForwardingTableFactoryIOExceptionCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.