internal void SubmitSchemaRefresh(string keyspace, string table, AsyncResultNoResult ar = null)
 {
     if (keyspace == null)
         ResetSchema();
     else if (table == null)
         ResetKeyspace(keyspace);
     else
         ResetTable(keyspace, table);
 }
Exemple #2
0
        public IAsyncResult BeginRefreshSchema(AsyncCallback callback, object state, string keyspace = null, string table = null)
        {
            var ar = new AsyncResultNoResult(callback, state, this, "RefreshSchema", this,null,
                                                             Timeout.Infinite);

            _controlConnection.SubmitSchemaRefresh(keyspace, table, ar);

            return ar;
        }