コード例 #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;
 }
コード例 #2
0
        bool callback(voltdb::InvocationResponse response) throw (voltdb::Exception) {
            m_count--;

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