public class DefaultTransactionStateCacheSupplier
extends co.cask.tephra.coprocessor.TransactionStateCacheSupplier
DefaultTransactionStateCache for use by transaction
coprocessors.| Constructor and Description |
|---|
DefaultTransactionStateCacheSupplier(String sysConfigTablePrefix,
Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
co.cask.tephra.coprocessor.TransactionStateCache |
get()
Returns a singleton instance of the transaction state cache, performing lazy initialization if necessary.
|
public DefaultTransactionStateCacheSupplier(String sysConfigTablePrefix, Configuration conf)
public co.cask.tephra.coprocessor.TransactionStateCache get()
get in interface com.google.common.base.Supplier<co.cask.tephra.coprocessor.TransactionStateCache>get in class co.cask.tephra.coprocessor.TransactionStateCacheSupplierCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.