388389390391392393394395396397398
final OChannelBinaryClient network = beginRequest(OChannelBinaryProtocol.REQUEST_DB_SIZE); endRequest(network); try { beginResponse(network); return network.readLong(); } finally { endResponse(network); } } catch (OException e) { // PASS THROUGH
414415416417418419420421422423424
final OChannelBinaryClient network = beginRequest(OChannelBinaryProtocol.REQUEST_DB_COUNTRECORDS); endRequest(network); try { beginResponse(network); return network.readLong(); } finally { endResponse(network); } } catch (OException e) { // PASS THROUGH
445446447448449450451452453454455
endRequest(network); } try { beginResponse(network); return network.readLong(); } finally { endResponse(network); } } catch (OException e) { // PASS THROUGH
475476477478479480481482483484485
216217218219220221222223224225226
} try { beginResponse(network); iRid.clusterPosition = network.readLong(); return iRid.clusterPosition; } finally { endResponse(network); }
351352353354355356357358359360361
endRequest(network); } try { beginResponse(network); return new long[] { network.readLong(), network.readLong() }; } finally { endResponse(network); } } catch (Exception e) {
374375376377378379380381382383384
final OChannelBinaryClient network = beginRequest(OChannelBinaryProtocol.REQUEST_DB_SIZE); endRequest(network); try { beginResponse(network); return network.readLong(); } finally { endResponse(network); } } catch (Exception e) { handleException("Error on read database size", e);
397398399400401402403404405406407
final OChannelBinaryClient network = beginRequest(OChannelBinaryProtocol.REQUEST_DB_COUNTRECORDS); endRequest(network); try { beginResponse(network); return network.readLong(); } finally { endResponse(network); } } catch (Exception e) { handleException("Error on read database record count", e);
425426427428429430431432433434435
endRequest(network); } try { beginResponse(network); return network.readLong(); } finally { endResponse(network); } } catch (Exception e) { handleException("Error on read record count in clusters: " + iClusterIds, e);