<< Click to Display Table of Contents >>

Service

This class provides methods related to the service function of OZ Server.


Constructor Detail

Service

public Service(String url, String id, String pw, boolean bAutoLogin, boolean useUSL)

Performs processing functions such as OZ Server information, status, processing, memory collection.

Parameters:

url - URL of OZ Server

id - User ID

pw - User password

bAutoLogin - Whether to use the AutoLogin

useUSL - Whether to use the USL


Method Detail

garbageCollect

public void garbageCollect() throws OZCPException

Runs garbage collection, which collects the free memory on the JVM using the separate memory collection program so that the memory can be recycled.

ping

public boolean ping() throws OZCPException

Returns whether the server is operating.

getHandlerCount

public int getHandlerCount() throws OZCPException

Gets the number of concurrent multithread of the server.