public class SomaCommandStatusListener extends Object implements csbase.server.plugin.service.commandpersistenceservice.ICommandStatusListener
| Modifier and Type | Field and Description |
|---|---|
static String |
KAFKA_SCHEMA_REGISTRY_URL |
static String |
KAFKA_SERVER_ADDRESS |
static String |
KAFKA_TOPIC |
protected ExecutorService |
notifierExecutor
Pool de threads para tratar as notificações do servidor.
|
| Constructor and Description |
|---|
SomaCommandStatusListener(csbase.server.plugin.service.IServiceManager serviceManager) |
| Modifier and Type | Method and Description |
|---|---|
protected IJobHistoryEventFactory |
getEventFactory() |
protected csbase.server.services.commandpersistenceservice.CommandPersistenceService |
getPersistenceService() |
protected org.apache.kafka.clients.producer.Producer<String,br.pucrio.tecgraf.soma.job.JobHistoryEvent> |
getProducer() |
void |
setProperties(Properties properties) |
void |
statusChanged(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo) |
public static final String KAFKA_SCHEMA_REGISTRY_URL
public static final String KAFKA_SERVER_ADDRESS
public static final String KAFKA_TOPIC
protected ExecutorService notifierExecutor
public SomaCommandStatusListener(csbase.server.plugin.service.IServiceManager serviceManager)
public void statusChanged(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
statusChanged in interface csbase.server.plugin.service.commandpersistenceservice.ICommandStatusListenerpublic void setProperties(Properties properties)
setProperties in interface csbase.server.plugin.service.commandpersistenceservice.ICommandStatusListenerprotected org.apache.kafka.clients.producer.Producer<String,br.pucrio.tecgraf.soma.job.JobHistoryEvent> getProducer()
protected csbase.server.services.commandpersistenceservice.CommandPersistenceService getPersistenceService()
protected IJobHistoryEventFactory getEventFactory()
Copyright © 2020. All rights reserved.