public class ExecutorService extends AbstractPluginFactory<Executor>
Modifier and Type | Method and Description |
---|---|
void |
clearExecutor(Database database)
Deprecated.
Please use clearExecutor(name, database)
|
void |
clearExecutor(String name,
Database database) |
boolean |
executorExists(String name,
Database database)
Return true if there is an existing Executor for this name/database
|
Executor |
getExecutor(Database database)
Deprecated.
Please use getExecutor(name, database) instead
|
Executor |
getExecutor(String name,
Database database)
Retrieve a named executor for the specified database
|
protected Class<Executor> |
getPluginClass() |
protected int |
getPriority(Executor executor,
Object... args)
Returns the priority of the given object based on the passed args array.
|
void |
reset() |
void |
setExecutor(Database database,
Executor executor)
Deprecated.
Please use setExecutor(name, database, executor)
|
void |
setExecutor(String name,
Database database,
Executor executor) |
findAllInstances, getPlugin, register, removeInstance
protected Class<Executor> getPluginClass()
getPluginClass
in class AbstractPluginFactory<Executor>
protected int getPriority(Executor executor, Object... args)
AbstractPluginFactory
AbstractPluginFactory.getPlugin(Object...)
getPriority
in class AbstractPluginFactory<Executor>
public Executor getExecutor(String name, Database database)
name
- database
- public boolean executorExists(String name, Database database)
public Executor getExecutor(Database database)
database
- public void setExecutor(Database database, Executor executor)
database
- executor
- public void clearExecutor(Database database)
database
- public void reset()
Copyright © 2023 Liquibase.org. All rights reserved.