final class TimedIndexService extends IndexService
- Alphabetic
- By Inheritance
- TimedIndexService
- IndexService
- ReportsHealth
- MeteringStore
- IndexParticipantPruningService
- IndexConfigManagementService
- IndexPartyManagementService
- IdentityProvider
- MaximumLedgerTimeService
- ContractStore
- IndexActiveContractsService
- IndexEventQueryService
- IndexTransactionsService
- IndexCompletionsService
- LedgerEndService
- IndexConfigurationService
- IndexPackagesService
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TimedIndexService(delegate: IndexService, metrics: Metrics)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def configurationEntries(startExclusive: Option[Absolute])(implicit loggingContext: LoggingContextWithTrace): Source[(Absolute, ConfigurationEntry), NotUsed]
Retrieve configuration entries.
Retrieve configuration entries.
- Definition Classes
- TimedIndexService → IndexConfigManagementService
- def currentHealth(): HealthStatus
Reports the current health of the object.
Reports the current health of the object. This should always return immediately.
- Definition Classes
- TimedIndexService → ReportsHealth
- def currentLedgerEnd(): Future[Absolute]
- Definition Classes
- TimedIndexService → LedgerEndService
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getActiveContracts(filter: TransactionFilter, verbose: Boolean, activeAtO: Option[Offset])(implicit loggingContext: LoggingContextWithTrace): Source[GetActiveContractsResponse, NotUsed]
- Definition Classes
- TimedIndexService → IndexActiveContractsService
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getCompletions(startExclusive: LedgerOffset, endInclusive: LedgerOffset, applicationId: daml.lf.data.Ref.ApplicationId, parties: Set[daml.lf.data.Ref.Party])(implicit loggingContext: LoggingContextWithTrace): Source[CompletionStreamResponse, NotUsed]
- Definition Classes
- TimedIndexService → IndexCompletionsService
- def getCompletions(begin: LedgerOffset, applicationId: daml.lf.data.Ref.ApplicationId, parties: Set[daml.lf.data.Ref.Party])(implicit loggingContext: LoggingContextWithTrace): Source[CompletionStreamResponse, NotUsed]
- Definition Classes
- TimedIndexService → IndexCompletionsService
- def getEventsByContractId(contractId: daml.lf.value.Value.ContractId, requestingParties: Set[daml.lf.data.Ref.Party])(implicit loggingContext: LoggingContextWithTrace): Future[GetEventsByContractIdResponse]
- Definition Classes
- TimedIndexService → IndexEventQueryService
- def getEventsByContractKey(globalKey: GlobalKey, requestingParties: Set[daml.lf.data.Ref.Party], keyContinuationToken: KeyContinuationToken)(implicit loggingContext: LoggingContextWithTrace): Future[GetEventsByContractKeyResponse]
- Definition Classes
- TimedIndexService → IndexEventQueryService
- def getLedgerConfiguration()(implicit loggingContext: LoggingContextWithTrace): Source[ledger.participant.state.index.v2.LedgerConfiguration, NotUsed]
- Definition Classes
- TimedIndexService → IndexConfigurationService
- def getLfArchive(packageId: daml.lf.data.Ref.PackageId)(implicit loggingContext: LoggingContextWithTrace): Future[Option[Archive]]
- Definition Classes
- TimedIndexService → IndexPackagesService
- def getMeteringReportData(from: Timestamp, to: Option[Timestamp], applicationId: Option[daml.lf.data.Ref.ApplicationId])(implicit loggingContext: LoggingContextWithTrace): Future[ReportData]
- Definition Classes
- TimedIndexService → MeteringStore
- def getParticipantId(): Future[daml.lf.data.Ref.ParticipantId]
- Definition Classes
- TimedIndexService → IndexPartyManagementService
- def getParties(parties: Seq[daml.lf.data.Ref.Party])(implicit loggingContext: LoggingContextWithTrace): Future[List[IndexerPartyDetails]]
- Definition Classes
- TimedIndexService → IndexPartyManagementService
- def getTransactionById(transactionId: ledger.api.domain.TransactionId, requestingParties: Set[daml.lf.data.Ref.Party])(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionResponse]]
- Definition Classes
- TimedIndexService → IndexTransactionsService
- def getTransactionTreeById(transactionId: ledger.api.domain.TransactionId, requestingParties: Set[daml.lf.data.Ref.Party])(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionTreeResponse]]
- Definition Classes
- TimedIndexService → IndexTransactionsService
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def latestPrunedOffsets()(implicit loggingContext: LoggingContextWithTrace): Future[(Absolute, Absolute)]
- Definition Classes
- TimedIndexService → IndexTransactionsService
- def ledgerId: LedgerId
- Definition Classes
- TimedIndexService → IdentityProvider
- def listKnownParties(fromExcl: Option[daml.lf.data.Ref.Party], maxResults: Int)(implicit loggingContext: LoggingContextWithTrace): Future[List[IndexerPartyDetails]]
- Definition Classes
- TimedIndexService → IndexPartyManagementService
- def listLfPackages()(implicit loggingContext: LoggingContextWithTrace): Future[Map[daml.lf.data.Ref.PackageId, PackageDetails]]
- Definition Classes
- TimedIndexService → IndexPackagesService
- def lookupActiveContract(readers: Set[daml.lf.data.Ref.Party], contractId: daml.lf.value.Value.ContractId)(implicit loggingContext: LoggingContextWithTrace): Future[Option[VersionedContractInstance]]
Looking up an active contract.
Looking up an active contract. Lookup will succeed even if the creating transaction is not visible, but only the contract is divulged to one of the readers.
- Definition Classes
- TimedIndexService → ContractStore
- def lookupConfiguration()(implicit loggingContext: LoggingContextWithTrace): Future[Option[(Absolute, Configuration)]]
Looks up the current configuration, if set, and the offset from which to subscribe to new configuration entries using configurationEntries.
Looks up the current configuration, if set, and the offset from which to subscribe to new configuration entries using configurationEntries.
- Definition Classes
- TimedIndexService → IndexConfigManagementService
- def lookupContractKey(readers: Set[daml.lf.data.Ref.Party], key: GlobalKey)(implicit loggingContext: LoggingContextWithTrace): Future[Option[daml.lf.value.Value.ContractId]]
- Definition Classes
- TimedIndexService → ContractStore
- def lookupContractStateWithoutDivulgence(contractId: daml.lf.value.Value.ContractId)(implicit loggingContext: LoggingContextWithTrace): Future[ContractState]
Querying the state of the contracts.
Querying the state of the contracts. If a contract only divulged to some readers, but the transaction of the creation is not visible to the participant, then the lookup will result in a NotFound.
- Definition Classes
- TimedIndexService → ContractStore
- def lookupMaximumLedgerTimeAfterInterpretation(ids: Set[daml.lf.value.Value.ContractId])(implicit loggingContext: LoggingContextWithTrace): Future[MaximumLedgerTime]
This method serves two purposes: 1 - Verify that none of the specified contracts are archived (archival of divulged contracts also count) 2 - Calculate the maximum ledger time of all the specified contracts (divulged contracts do not contribute) Important note: existence of the contracts is not checked, only the fact of archival, therefore this method is intended to be used after interpretation, which guarantees that all the used ids were visible once.
This method serves two purposes: 1 - Verify that none of the specified contracts are archived (archival of divulged contracts also count) 2 - Calculate the maximum ledger time of all the specified contracts (divulged contracts do not contribute) Important note: existence of the contracts is not checked, only the fact of archival, therefore this method is intended to be used after interpretation, which guarantees that all the used ids were visible once.
- returns
NotAvailable, if none of the specified contracts are archived, and all of them are divulged contracts (no ledger-time available) NotAvailable, if the specified set is empty. Max, if none of the specified contracts are archived, and the maximum ledger-time of all specified non-divulged contracts is known Archived, if there was at least one contract specified which is archived (this list is not necessarily exhaustive)
- Definition Classes
- TimedIndexService → MaximumLedgerTimeService
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def packageEntries(startExclusive: Option[Absolute])(implicit loggingContext: LoggingContextWithTrace): Source[PackageEntry, NotUsed]
- Definition Classes
- TimedIndexService → IndexPackagesService
- def partyEntries(startExclusive: Option[Absolute])(implicit loggingContext: LoggingContextWithTrace): Source[PartyEntry, NotUsed]
- Definition Classes
- TimedIndexService → IndexPartyManagementService
- def prune(pruneUpToInclusive: Offset, pruneAllDivulgedContracts: Boolean)(implicit loggingContext: LoggingContextWithTrace): Future[Unit]
- Definition Classes
- TimedIndexService → IndexParticipantPruningService
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transactionTrees(begin: LedgerOffset, endAt: Option[LedgerOffset], filter: TransactionFilter, sendPrunedOffsets: Boolean, verbose: Boolean)(implicit loggingContext: LoggingContextWithTrace): Source[GetUpdateTreesResponse, NotUsed]
- Definition Classes
- TimedIndexService → IndexTransactionsService
- def transactions(begin: LedgerOffset, endAt: Option[LedgerOffset], filter: TransactionFilter, sendPrunedOffsets: Boolean, verbose: Boolean)(implicit loggingContext: LoggingContextWithTrace): Source[GetUpdatesResponse, NotUsed]
- Definition Classes
- TimedIndexService → IndexTransactionsService
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])