Package com.soffid.iam.service
Interface SyncServerService
-
public interface SyncServerService
Service SyncServerService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
boostTask(long taskId)
Operation boostTaskvoid
cancelTask(long taskId)
Operation cancelTaskvoid
cancelUnscheduledTasks()
Operation cancelUnscheduledTasksCollection<SeyconTask>
findUnscheduledTasks()
Operation findUnscheduledTasksCollection<SyncAgentTaskLog>
getAgentTasks(String url, String agentCodi)
Operation getAgentTasksSyncAgentTaskLog
getAgentTasks(String url, String agentName, Long taskId)
Operation getAgentTasksCollection<SyncServerInfo>
getPendingTasksInfo()
Operation getPendingTasksInfoMap<String,Vector<Object[]>>
getPendingTasksStats()
Operation getPendingTasksStats Returns a map with a list of pairs date - long for each agent.Collection<AgentStatusInfo>
getServerAgentStatus()
Operation getServerAgentStatusCollection<AgentStatusInfo>
getServerAgentStatus(String url)
Operation getServerAgentStatusObject
getServerService(String servicePath)
Operation getServerService Gets a remote interface for any server, using the console specific authorization keyCollection<Object>
getServerTasks(String url)
Operation getServerTasksInputStream
getSeyconServerLog(String urlServer)
Operation getSeyconServerLogMap<String,int[]>
getStats(String server, String metric, int seconds, int step)
Operation getStatsSyncServerInfo
getSyncServerInfo(String url)
Operation getSyncServerInfoCollection<Server>
getSyncServerInstances()
Operation getSyncServerInstancesCollection<Server>
getSyncServers()
Operation getSyncServersCollection<SyncServerInfo>
getSyncServersStatus()
Operation getSyncServersStatusvoid
releaseAllTasks()
Operation releaseAllTasksvoid
releaseTask(long taskId)
Operation releaseTaskvoid
resetSyncServer(String url, String server)
Operation resetSyncServerString[]
tailServerLog(String urlServer)
Operation tailServerLogvoid
updateDispatcherConfiguration()
Operation updateDispatcherConfiguration Calls synchronization servers to notify dispatcher configuration changesvoid
updatePendingTasks()
Operation updatePendingTasks
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAgentTasks
SyncAgentTaskLog getAgentTasks(String url, String agentName, Long taskId) throws InternalErrorException, InternalErrorException
Operation getAgentTasks- Parameters:
url
-agentName
-taskId
-- Returns:
- Throws:
InternalErrorException
-
getSyncServerInfo
SyncServerInfo getSyncServerInfo(String url) throws InternalErrorException, InternalErrorException
Operation getSyncServerInfo- Parameters:
url
-- Returns:
- Throws:
InternalErrorException
-
getSeyconServerLog
InputStream getSeyconServerLog(String urlServer) throws InternalErrorException, InternalErrorException
Operation getSeyconServerLog- Parameters:
urlServer
-- Returns:
- Throws:
InternalErrorException
-
getServerService
Object getServerService(String servicePath) throws InternalErrorException
Operation getServerService Gets a remote interface for any server, using the console specific authorization key- Parameters:
servicePath
-- Returns:
- Throws:
InternalErrorException
-
tailServerLog
String[] tailServerLog(String urlServer) throws InternalErrorException, InternalErrorException
Operation tailServerLog- Parameters:
urlServer
-- Returns:
- Throws:
InternalErrorException
-
findUnscheduledTasks
Collection<SeyconTask> findUnscheduledTasks() throws InternalErrorException
Operation findUnscheduledTasks- Returns:
- Throws:
InternalErrorException
-
getAgentTasks
Collection<SyncAgentTaskLog> getAgentTasks(String url, String agentCodi) throws InternalErrorException, InternalErrorException
Operation getAgentTasks- Parameters:
url
-agentCodi
-- Returns:
- Throws:
InternalErrorException
-
getPendingTasksInfo
Collection<SyncServerInfo> getPendingTasksInfo() throws InternalErrorException, InternalErrorException
Operation getPendingTasksInfo- Returns:
- Throws:
InternalErrorException
-
getServerAgentStatus
Collection<AgentStatusInfo> getServerAgentStatus() throws InternalErrorException, InternalErrorException
Operation getServerAgentStatus- Returns:
- Throws:
InternalErrorException
-
getServerAgentStatus
Collection<AgentStatusInfo> getServerAgentStatus(String url) throws InternalErrorException, InternalErrorException
Operation getServerAgentStatus- Parameters:
url
-- Returns:
- Throws:
InternalErrorException
-
getServerTasks
Collection<Object> getServerTasks(String url) throws InternalErrorException, InternalErrorException
Operation getServerTasks- Parameters:
url
-- Returns:
- Throws:
InternalErrorException
-
getSyncServersStatus
Collection<SyncServerInfo> getSyncServersStatus() throws InternalErrorException, InternalErrorException
Operation getSyncServersStatus- Returns:
- Throws:
InternalErrorException
-
getSyncServerInstances
Collection<Server> getSyncServerInstances() throws InternalErrorException, InternalErrorException
Operation getSyncServerInstances- Returns:
- Throws:
InternalErrorException
-
getSyncServers
Collection<Server> getSyncServers() throws InternalErrorException, InternalErrorException
Operation getSyncServers- Returns:
- Throws:
InternalErrorException
-
getPendingTasksStats
Map<String,Vector<Object[]>> getPendingTasksStats() throws InternalErrorException, InternalErrorException
Operation 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:
InternalErrorException
-
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
void boostTask(long taskId) throws InternalErrorException
Operation boostTask- Parameters:
taskId
-- Throws:
InternalErrorException
-
cancelTask
void cancelTask(long taskId) throws InternalErrorException
Operation cancelTask- Parameters:
taskId
-- Throws:
InternalErrorException
-
cancelUnscheduledTasks
void cancelUnscheduledTasks() throws InternalErrorException
Operation cancelUnscheduledTasks- Throws:
InternalErrorException
-
releaseAllTasks
void releaseAllTasks() throws InternalErrorException
Operation releaseAllTasks- Throws:
InternalErrorException
-
releaseTask
void releaseTask(long taskId) throws InternalErrorException
Operation releaseTask- Parameters:
taskId
-- Throws:
InternalErrorException
-
resetSyncServer
void resetSyncServer(String url, String server) throws InternalErrorException, InternalErrorException
Operation resetSyncServer- Parameters:
url
-server
-- Throws:
InternalErrorException
-
updateDispatcherConfiguration
void updateDispatcherConfiguration() throws InternalErrorException
Operation updateDispatcherConfiguration Calls synchronization servers to notify dispatcher configuration changes- Throws:
InternalErrorException
-
updatePendingTasks
void updatePendingTasks() throws InternalErrorException
Operation updatePendingTasks- Throws:
InternalErrorException
-
-