Interface TXNGrpc.AsyncService

All Known Implementing Classes:
TXNGrpc.TXNImplBase
Enclosing class:
TXNGrpc

public static interface TXNGrpc.AsyncService

 Endpoint for transaction management.
 
  • Method Details

    • begin

      default void begin(CottontailGrpc.BeginTransaction request, io.grpc.stub.StreamObserver<CottontailGrpc.ResponseMetadata> responseObserver)
       Starts a new transaction. 
       
    • commit

      default void commit(CottontailGrpc.RequestMetadata request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Performs a commit on a transaction. This method blocks if a query is currently executed. 
       
    • rollback

      default void rollback(CottontailGrpc.RequestMetadata request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Performs a rollback on a transaction and aborts it. This method blocks if a query is currently executed. 
       
    • kill

      default void kill(CottontailGrpc.RequestMetadata request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Kills and performs a rollback on an ongoing transaction. This method can even be used when a query is being executed.
       
    • listTransactions

      default void listTransactions(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)
       Lists all active transactions. 
       
    • listLocks

      default void listLocks(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<CottontailGrpc.QueryResponseMessage> responseObserver)
       Lists all active locks on database objects.