Class AxonConnectorThreadFactory
- java.lang.Object
-
- io.axoniq.axonserver.connector.impl.AxonConnectorThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public class AxonConnectorThreadFactory extends Object implements ThreadFactory
AThreadFactoryimplementation for AxonServer Connector threads.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AxonConnectorThreadFactoryforInstanceId(String instanceId)Constructs anAxonConnectorThreadFactoryusing the giveninstanceIdas part of the thread group.ThreadnewThread(Runnable runnable)
-
-
-
Method Detail
-
forInstanceId
public static AxonConnectorThreadFactory forInstanceId(String instanceId)
Constructs anAxonConnectorThreadFactoryusing the giveninstanceIdas part of the thread group.- Parameters:
instanceId- the instance identifier to become part of the thread group- Returns:
- an
AxonConnectorThreadFactoryused to create threads
-
newThread
public Thread newThread(Runnable runnable)
- Specified by:
newThreadin interfaceThreadFactory
-
-