Search in sources :

Example 1 with SqlInternalService

use of com.hazelcast.sql.impl.SqlInternalService in project hazelcast by hazelcast.

the class SqlClientCursorCleanupTest method assertNoState.

private void assertNoState() {
    SqlInternalService service = ((SqlServiceImpl) member.getSql()).getInternalService();
    assertEquals(0, service.getResultRegistry().getResultCount());
    assertEquals(0, service.getClientStateRegistry().getCursorCount());
}
Also used : SqlServiceImpl(com.hazelcast.sql.impl.SqlServiceImpl) SqlInternalService(com.hazelcast.sql.impl.SqlInternalService)

Example 2 with SqlInternalService

use of com.hazelcast.sql.impl.SqlInternalService in project hazelcast by hazelcast.

the class SqlCloseMessageTask method call.

@Override
protected Object call() {
    SqlInternalService service = nodeEngine.getSqlService().getInternalService();
    service.getClientStateRegistry().close(endpoint.getUuid(), parameters);
    return null;
}
Also used : SqlInternalService(com.hazelcast.sql.impl.SqlInternalService)

Aggregations

SqlInternalService (com.hazelcast.sql.impl.SqlInternalService)2 SqlServiceImpl (com.hazelcast.sql.impl.SqlServiceImpl)1