All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alachisoft.ncache.client.CQRunnable Maven / Gradle / Ivy

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.alachisoft.ncache.client;

/**
 * @hidden
 */
public class CQRunnable implements Runnable {

    private QueryDataModificationListener _callback;
    private CQEventArg _eventArgs;
    private String _key;

    public CQRunnable(QueryDataModificationListener callback, CQEventArg eventArgs, String key) {
        if (callback != null) {
            _callback = callback;
            _eventArgs = eventArgs;
            _key = key;
        }
    }

    public void run() {
        _callback.onQueryDataModified(_key, _eventArgs);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy