public class CassandraReportService extends Object implements eu.europeana.cloud.service.dps.TaskExecutionReportService
| Constructor and Description |
|---|
CassandraReportService(String hosts,
int port,
String keyspaceName,
String userName,
String password)
Constructor of Cassandra report service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTaskNotificationChuncks(String taskId,
int from,
int to) |
String |
getTaskProgress(String taskId) |
void |
incrTaskProgress(String taskId) |
public CassandraReportService(String hosts, int port, String keyspaceName, String userName, String password)
hosts - Cassandra hosts separated by comma (e.g. localhost,192.168.47.129)port - Cassandra portkeyspaceName - Cassandra keyspace nameuserName - Cassandra usernamepassword - Cassandra passwordpublic String getTaskProgress(String taskId) throws eu.europeana.cloud.service.dps.exception.AccessDeniedOrObjectDoesNotExistException
getTaskProgress in interface eu.europeana.cloud.service.dps.TaskExecutionReportServiceeu.europeana.cloud.service.dps.exception.AccessDeniedOrObjectDoesNotExistExceptionpublic String getTaskNotificationChuncks(String taskId, int from, int to)
getTaskNotificationChuncks in interface eu.europeana.cloud.service.dps.TaskExecutionReportServicepublic void incrTaskProgress(String taskId)
incrTaskProgress in interface eu.europeana.cloud.service.dps.TaskExecutionReportServiceCopyright © 2013–2017 Europeana Cloud Development Team. All rights reserved.