Class DispatcherTaskManager
- java.lang.Object
-
- com.snowflake.connectors.taskreactor.dispatcher.DispatcherTaskManager
-
public class DispatcherTaskManager extends Object
Component for managing dispatcher task.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DispatcherTaskManager
from(Session session, Identifier instanceSchema)
Creates a newDispatcherTaskManager
.void
resumeDispatcherTask()
Resumes dispatcher taskvoid
suspendDispatcherTask()
Suspends dispatcher task
-
-
-
Method Detail
-
from
public static DispatcherTaskManager from(Session session, Identifier instanceSchema)
Creates a newDispatcherTaskManager
.- Parameters:
session
- Snowpark session objectinstanceSchema
- task reactor instance schema name- Returns:
- new manager instance
-
suspendDispatcherTask
public void suspendDispatcherTask()
Suspends dispatcher task
-
resumeDispatcherTask
public void resumeDispatcherTask()
Resumes dispatcher task
-
-