|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IEventServerAdmin
The IEventServerAdmin interface contains properties and methods for monitoring and managing the
Event Server. You can also adjust the polling time and return the collection of files used to
trigger the events.
| Method Summary | |
|---|---|
void |
commit()
Deprecated. As of version 12.0. Commit the Job Server InfoObject to save any changes. |
int |
getEvents()
Deprecated. As of version 12.0. |
int |
getFilePollTime()
Deprecated. As of version 12.0. |
java.lang.String |
getHostname()
Deprecated. As of version 12.0. |
IEventServerAdminFile[] |
getListFileMonitored()
Deprecated. As of version 12.0. |
void |
setFilePollTime(int n)
Deprecated. As of version 12.0. |
| Method Detail |
|---|
int getFilePollTime()
throws SDKException
Returns how often the Event Server polls for a file that will trigger an event. The value returned is in seconds.
int specifying how often the Event Server polls for a file
that will trigger an event.
SDKException - This is thrown if the process is unsuccessful.
void setFilePollTime(int n)
throws SDKException
Sets how often the Event Server polls for a file that will trigger an event. The default is two seconds. However, it is important to note that, the lower the value, the more resources the server requires.
n - An int specifying how often the Event Server polls for a file
that will trigger an event.
SDKException - This is thrown if the process is unsuccessful.
java.lang.String getHostname()
throws SDKException
Returns the host name of the Event Server.
String containing the host name of the Event Server.
SDKException - This is thrown if the process is unsuccessful.
IEventServerAdminFile[] getListFileMonitored()
throws SDKException
Returns a collection of files monitored by the Event Server.
IEventServerAdminFile objects that represent the files
monitored by the Event Server.
SDKException - This is thrown if the process is unsuccessful.
int getEvents()
throws SDKException
Returns the total number of events monitored by the Event Server.
int specifying the total number of events monitored by the Event
server.
SDKException - This is thrown if the process is unsuccessful.
void commit()
throws SDKException
Commits to the CMS any changes that are made to the Event Server.
SDKException - This is thrown if the process is unsuccessful.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||