trait IndexService extends IndexCompletionsService with IndexUpdateService with IndexEventQueryService with IndexActiveContractsService with ContractStore with MaximumLedgerTimeService with IndexPartyManagementService with IndexParticipantPruningService with ReportsHealth
- Alphabetic
- By Inheritance
- IndexService
- ReportsHealth
- IndexParticipantPruningService
- IndexPartyManagementService
- MaximumLedgerTimeService
- ContractStore
- IndexActiveContractsService
- IndexEventQueryService
- IndexUpdateService
- IndexCompletionsService
- LedgerEndService
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def currentHealth(): HealthStatus
Reports the current health of the object.
Reports the current health of the object. This should always return immediately.
- Definition Classes
- ReportsHealth
- abstract def currentLedgerEnd(): Future[Option[Offset]]
- Definition Classes
- LedgerEndService
- abstract def getActiveContracts(filter: EventFormat, activeAt: Option[Offset])(implicit loggingContext: LoggingContextWithTrace): Source[GetActiveContractsResponse, NotUsed]
- Definition Classes
- IndexActiveContractsService
- abstract def getCompletions(begin: Option[Offset], userId: daml.lf.data.Ref.UserId, parties: Set[Party])(implicit loggingContext: LoggingContextWithTrace): Source[CompletionStreamResponse, NotUsed]
- Definition Classes
- IndexCompletionsService
- abstract def getEventsByContractId(contractId: ContractId, eventFormat: EventFormat)(implicit loggingContext: LoggingContextWithTrace): Future[GetEventsByContractIdResponse]
- Definition Classes
- IndexEventQueryService
- abstract def getParticipantId(): Future[ParticipantId]
- Definition Classes
- IndexPartyManagementService
- abstract def getParties(parties: Seq[Party])(implicit loggingContext: LoggingContextWithTrace): Future[List[IndexerPartyDetails]]
- Definition Classes
- IndexPartyManagementService
- abstract def getTransactionById(updateId: UpdateId, transactionFormat: TransactionFormat)(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionResponse]]
- Definition Classes
- IndexUpdateService
- abstract def getTransactionByOffset(offset: Offset, transactionFormat: TransactionFormat)(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionResponse]]
- Definition Classes
- IndexUpdateService
- abstract def getTransactionTreeById(updateId: UpdateId, requestingParties: Set[Party])(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionTreeResponse]]
- Definition Classes
- IndexUpdateService
- abstract def getTransactionTreeByOffset(offset: Offset, requestingParties: Set[Party])(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetTransactionTreeResponse]]
- Definition Classes
- IndexUpdateService
- abstract def getUpdateBy(lookupKey: LookupKey, updateFormat: UpdateFormat)(implicit loggingContext: LoggingContextWithTrace): Future[Option[GetUpdateResponse]]
- Definition Classes
- IndexUpdateService
- abstract def latestPrunedOffsets()(implicit loggingContext: LoggingContextWithTrace): Future[(Option[Offset], Option[Offset])]
- Definition Classes
- IndexUpdateService
- abstract def listKnownParties(fromExcl: Option[Party], maxResults: Int)(implicit loggingContext: LoggingContextWithTrace): Future[List[IndexerPartyDetails]]
- Definition Classes
- IndexPartyManagementService
- abstract def lookupActiveContract(readers: Set[Party], contractId: ContractId)(implicit loggingContext: LoggingContextWithTrace): Future[Option[VersionedContractInstance]]
Looking up an active contract.
Looking up an active contract.
- Definition Classes
- ContractStore
- abstract def lookupContractKey(readers: Set[Party], key: GlobalKey)(implicit loggingContext: LoggingContextWithTrace): Future[Option[ContractId]]
- Definition Classes
- ContractStore
- abstract def lookupContractState(contractId: ContractId)(implicit loggingContext: LoggingContextWithTrace): Future[ContractState]
Querying the state of the contracts.
Querying the state of the contracts.
- Definition Classes
- ContractStore
- abstract def lookupMaximumLedgerTimeAfterInterpretation(ids: Set[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
- MaximumLedgerTimeService
- abstract def prune(pruneUpToInclusive: Offset, pruneAllDivulgedContracts: Boolean, incompletReassignmentOffsets: Vector[Offset])(implicit loggingContext: LoggingContextWithTrace): Future[Unit]
- Definition Classes
- IndexParticipantPruningService
- abstract def transactionTrees(begin: Option[Offset], endAt: Option[Offset], eventFormat: EventFormat)(implicit loggingContext: LoggingContextWithTrace): Source[GetUpdateTreesResponse, NotUsed]
- Definition Classes
- IndexUpdateService
- abstract def updates(begin: Option[Offset], endAt: Option[Offset], updateFormat: UpdateFormat)(implicit loggingContext: LoggingContextWithTrace): Source[GetUpdatesResponse, NotUsed]
- Definition Classes
- IndexUpdateService
Concrete 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])