final class TimedIndexService extends IndexService
- Annotations
- @nowarn()
- Alphabetic
- By Inheritance
- TimedIndexService
- IndexService
- ReportsHealth
- IndexParticipantPruningService
- IndexPartyManagementService
- MaximumLedgerTimeService
- ContractStore
- IndexActiveContractsService
- IndexEventQueryService
- IndexUpdateService
- IndexCompletionsService
- LedgerEndService
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TimedIndexService(delegate: IndexService, metrics: LedgerApiServerMetrics)
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]) @IntrinsicCandidate() @native()
- 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[Option[Offset]]
- 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: EventFormat, activeAt: Option[Offset])(implicit loggingContext: LoggingContextWithTrace): Source[GetActiveContractsResponse, NotUsed]
- Definition Classes
- TimedIndexService → IndexActiveContractsService
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getCompletions(begin: Option[Offset], userId: daml.lf.data.Ref.UserId, 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, eventFormat: EventFormat)(implicit loggingContext: LoggingContextWithTrace): Future[GetEventsByContractIdResponse]
- Definition Classes
- TimedIndexService → IndexEventQueryService
- 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(updateId: ledger.api.UpdateId, transactionFormat: TransactionFormat)(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionResponse]]
- Definition Classes
- TimedIndexService → IndexUpdateService
- def getTransactionByOffset(offset: Offset, transactionFormat: TransactionFormat)(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionResponse]]
- Definition Classes
- TimedIndexService → IndexUpdateService
- def getTransactionTreeById(updateId: ledger.api.UpdateId, requestingParties: Set[daml.lf.data.Ref.Party])(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionTreeResponse]]
- Definition Classes
- TimedIndexService → IndexUpdateService
- def getTransactionTreeByOffset(offset: Offset, requestingParties: Set[daml.lf.data.Ref.Party])(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionTreeResponse]]
- Definition Classes
- TimedIndexService → IndexUpdateService
- def getUpdateBy(lookupKey: LookupKey, updateFormat: UpdateFormat)(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetUpdateResponse]]
- Definition Classes
- TimedIndexService → IndexUpdateService
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def latestPrunedOffsets()(implicit loggingContext: LoggingContextWithTrace): Future[(Option[Offset], Option[Offset])]
- Definition Classes
- TimedIndexService → IndexUpdateService
- def listKnownParties(fromExcl: Option[daml.lf.data.Ref.Party], maxResults: Int)(implicit loggingContext: LoggingContextWithTrace): Future[List[IndexerPartyDetails]]
- Definition Classes
- TimedIndexService → IndexPartyManagementService
- 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.
- Definition Classes
- TimedIndexService → ContractStore
- 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 lookupContractState(contractId: daml.lf.value.Value.ContractId)(implicit loggingContext: LoggingContextWithTrace): Future[ContractState]
Querying the state of the contracts.
Querying the state of the contracts.
- Definition Classes
- TimedIndexService → ContractStore
- def lookupMaximumLedgerTimeAfterInterpretation(ids: Set[daml.lf.value.Value.ContractId])(implicit loggingContext: LoggingContextWithTrace): Future[MaximumLedgerTime]
This method serves two purposes:
This method serves two purposes:
- Verify that none of the specified contracts are archived
- Calculate the maximum ledger time of all the specified contracts
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 the specified set is empty. Max, if none of the specified contracts are archived, and the maximum ledger-time of all specified 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def prune(pruneUpToInclusive: Offset, pruneAllDivulgedContracts: Boolean, incompletReassignmentOffsets: Vector[Offset])(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: Option[Offset], endAt: Option[Offset], eventFormat: EventFormat)(implicit loggingContext: LoggingContextWithTrace): Source[GetUpdateTreesResponse, NotUsed]
- Definition Classes
- TimedIndexService → IndexUpdateService
- def updates(begin: Option[Offset], endAt: Option[Offset], updateFormat: UpdateFormat)(implicit loggingContext: LoggingContextWithTrace): Source[GetUpdatesResponse, NotUsed]
- Definition Classes
- TimedIndexService → IndexUpdateService
- 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])