Package edu.brown.hstore.internal

Examples of edu.brown.hstore.internal.SetDistributedTxnMessage


    // INTERNAL MESSAGE WRAPPERS
    // ----------------------------------------------------------------------------
   
    public final SetDistributedTxnMessage getSetDistributedTxnMessage() {
        if (this.setdtxn_task == null) {
            this.setdtxn_task = new SetDistributedTxnMessage(this);
        }
        return (this.setdtxn_task);
    }
View Full Code Here


     * not have to be this txn's base partition/
     * @param ts
     */
    public void queueSetPartitionLock(AbstractTransaction ts) {
        assert(ts.isInitialized()) : "Unexpected uninitialized transaction: " + ts;
        SetDistributedTxnMessage work = ts.getSetDistributedTxnMessage();
        boolean success = this.work_queue.offer(work);
        assert(success) :
            String.format("Failed to queue %s at partition %d for %s",
                          work, this.partitionId, ts);
        if (debug.val)
            LOG.debug(String.format("%s - Added %s to front of partition %d " +
                      "work queue [size=%d]",
                      ts, work.getClass().getSimpleName(), this.partitionId,
                      this.work_queue.size()));
        if (hstore_conf.site.specexec_enable) this.specExecScheduler.interruptSearch(work);
    }
View Full Code Here

TOP

Related Classes of edu.brown.hstore.internal.SetDistributedTxnMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.