Package com.daml.grpc.adapter
Class SingleThreadExecutionSequencerPool
- java.lang.Object
-
- com.daml.grpc.adapter.SingleThreadExecutionSequencerPool
-
- All Implemented Interfaces:
ExecutionSequencerFactory
,java.lang.AutoCloseable
public class SingleThreadExecutionSequencerPool extends java.lang.Object implements ExecutionSequencerFactory
-
-
Constructor Summary
Constructors Constructor Description SingleThreadExecutionSequencerPool(java.lang.String poolName)
SingleThreadExecutionSequencerPool(java.lang.String poolName, int instanceCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
ExecutionSequencer
getExecutionSequencer()
-
-
-
Method Detail
-
getExecutionSequencer
public ExecutionSequencer getExecutionSequencer()
- Specified by:
getExecutionSequencer
in interfaceExecutionSequencerFactory
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
-