public class SLECache extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SLECache.CacheEntry |
| 构造器和说明 |
|---|
SLECache() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
cache(LedgerEntry le,
UInt32 validatedLedgerIndex)
Cache ledger.
|
LedgerEntry |
get(Hash256 index)
Get LedgerEntry.
|
void |
updateFromTransactionResult(TransactionResult tr)
updateFromTransactionResult
|
public boolean cache(LedgerEntry le, UInt32 validatedLedgerIndex)
le - Ledger Entry.validatedLedgerIndex - Validated ledger index.public LedgerEntry get(Hash256 index)
index - ledger index.public void updateFromTransactionResult(TransactionResult tr)
tr - TransactionResultCopyright © 2021. All rights reserved.