Package com.soffid.iam.sync.service
Interface SyncServerService
public interface SyncServerService
Service SyncServerService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidboostTask(long taskId) Operation boostTaskvoidcancelTask(long taskId) Operation cancelTaskvoidOperation cancelUnscheduledTasksvoidconfigureLog(String server, LogConfiguration config) Operation configureLogcom.soffid.zkdb.api.PagedResult<LogFileEntry>findLogs(String server, LogConfiguration config, long firstRow, long numRows) Operation findLogsOperation findUnscheduledTasksgetAgentTasks(String url, String agentCodi) Operation getAgentTasksgetAgentTasks(String url, String agentName, Long taskId) Operation getAgentTasksOperation getPendingTasksInfoOperation getPendingTasksStats Returns a map with a list of pairs date - long for each agent.Operation getServerAgentStatusOperation getServerAgentStatusgetServerLogs(String server) Operation getServerLogsgetServerService(String servicePath) Operation getServerService Gets a remote interface for any server, using the console specific authorization keygetServerTasks(String url) Operation getServerTasksgetSeyconServerLog(String urlServer) Operation getSeyconServerLogOperation getStatsgetSyncServerInfo(String url) Operation getSyncServerInfoOperation getSyncServerInstancesOperation getSyncServersOperation getSyncServersStatusvoidOperation releaseAllTasksvoidreleaseTask(long taskId) Operation releaseTaskvoidresetSyncServer(String url, String server) Operation resetSyncServerString[]tailServerLog(String urlServer) Operation tailServerLogvoidOperation updateDispatcherConfiguration Calls synchronization servers to notify dispatcher configuration changesvoidOperation updatePendingTasks
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
findLogs
com.soffid.zkdb.api.PagedResult<LogFileEntry> findLogs(String server, LogConfiguration config, long firstRow, long numRows) throws InternalErrorException Operation findLogs- Parameters:
server-config-firstRow-numRows-- Returns:
- Throws:
InternalErrorException
-
getServerLogs
Operation getServerLogs- Parameters:
server-- Returns:
- Throws:
InternalErrorException
-
getAgentTasks
SyncAgentTaskLog getAgentTasks(String url, String agentName, Long taskId) throws InternalErrorException, InternalErrorException Operation getAgentTasks- Parameters:
url-agentName-taskId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSyncServerInfo
Operation getSyncServerInfo- Parameters:
url-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSeyconServerLog
InputStream getSeyconServerLog(String urlServer) throws InternalErrorException, InternalErrorException Operation getSeyconServerLog- Parameters:
urlServer-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getServerService
Operation getServerService Gets a remote interface for any server, using the console specific authorization key- Parameters:
servicePath-- Returns:
- Throws:
InternalErrorException
-
tailServerLog
Operation tailServerLog- Parameters:
urlServer-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findUnscheduledTasks
Operation findUnscheduledTasks- Returns:
- Throws:
InternalErrorException
-
getAgentTasks
Collection<SyncAgentTaskLog> getAgentTasks(String url, String agentCodi) throws InternalErrorException, InternalErrorException Operation getAgentTasks- Parameters:
url-agentCodi-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getPendingTasksInfo
Collection<SyncServerInfo> getPendingTasksInfo() throws InternalErrorException, InternalErrorExceptionOperation getPendingTasksInfo- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getServerAgentStatus
Collection<AgentStatusInfo> getServerAgentStatus() throws InternalErrorException, InternalErrorExceptionOperation getServerAgentStatus- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getServerAgentStatus
Collection<AgentStatusInfo> getServerAgentStatus(String url) throws InternalErrorException, InternalErrorException Operation getServerAgentStatus- Parameters:
url-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getServerTasks
Operation getServerTasks- Parameters:
url-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSyncServersStatus
Collection<SyncServerInfo> getSyncServersStatus() throws InternalErrorException, InternalErrorExceptionOperation getSyncServersStatus- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSyncServerInstances
Operation getSyncServerInstances- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSyncServers
Operation getSyncServers- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getPendingTasksStats
Map<String,Vector<Object[]>> getPendingTasksStats() throws InternalErrorException, InternalErrorExceptionOperation getPendingTasksStats Returns a map with a list of pairs date - long for each agent. The key is the agent name. An special agent named 'Unscheduled' holds the not scheduled tasks- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getStats
Map<String,int[]> getStats(String server, String metric, int seconds, int step) throws InternalErrorException Operation getStats- Parameters:
server-metric-seconds-step-- Returns:
- Throws:
InternalErrorException
-
boostTask
Operation boostTask- Parameters:
taskId-- Throws:
InternalErrorException
-
cancelTask
Operation cancelTask- Parameters:
taskId-- Throws:
InternalErrorException
-
cancelUnscheduledTasks
Operation cancelUnscheduledTasks- Throws:
InternalErrorException
-
releaseAllTasks
Operation releaseAllTasks- Throws:
InternalErrorException
-
releaseTask
Operation releaseTask- Parameters:
taskId-- Throws:
InternalErrorException
-
resetSyncServer
void resetSyncServer(String url, String server) throws InternalErrorException, InternalErrorException Operation resetSyncServer- Parameters:
url-server-- Throws:
InternalErrorExceptionInternalErrorException
-
updateDispatcherConfiguration
Operation updateDispatcherConfiguration Calls synchronization servers to notify dispatcher configuration changes- Throws:
InternalErrorException
-
updatePendingTasks
Operation updatePendingTasks- Throws:
InternalErrorException
-
configureLog
Operation configureLog- Parameters:
server-config-- Throws:
InternalErrorException
-