Esempio n. 1
0
 bool callback(voltdb::InvocationResponse response) throw (voltdb::Exception) {
     if (response.success()) {
         m_success++;
     } else {
         CPPUNIT_ASSERT(response.statusCode() == voltdb::STATUS_CODE_CONNECTION_LOST);
         m_connectionLost++;
     }
     return false;
 }
Esempio n. 2
0
        bool callback(voltdb::InvocationResponse response) throw (voltdb::Exception) {
            m_count--;

            CPPUNIT_ASSERT(response.success());
            return false;
        }