Examples of LocalObjectMessage


Examples of org.voltcore.messaging.LocalObjectMessage

                    catalogBytes = catalogArr;
                }
            }
        }
        String deploymentString = (String) params.toArray()[1];
        LocalObjectMessage work = new LocalObjectMessage(
                new CatalogChangeWork(
                    m_siteId,
                    task.clientHandle, handler.connectionId(), ccxn.getHostnameAndIPAndPort(),
                    handler.isAdmin(), ccxn, catalogBytes, deploymentString,
                    task.procName, task.type, task.originalTxnId, task.originalUniqueId,
View Full Code Here

Examples of org.voltcore.messaging.LocalObjectMessage

                            (plannedStmtBatch.getPlannedStatement(0).core.catalogVersion != m_catalogContext.get().catalogVersion)) {

                            /* The adhoc planner learns of catalog updates after the EE and the
                               rest of the system. If the adhoc sql was planned against an
                               obsolete catalog, re-plan. */
                            LocalObjectMessage work = new LocalObjectMessage(
                                    AdHocPlannerWork.rework(plannedStmtBatch.work, m_adhocCompletionHandler));

                            m_mailbox.send(m_plannerSiteId, work);
                        }
                        else if( plannedStmtBatch.isExplainWork() ) {
View Full Code Here

Examples of org.voltcore.messaging.LocalObjectMessage

            @Override
            public void run() {
                m_currentHSIds.add(hSId);
            }
        };
        return new LocalObjectMessage(siteJoiner);
    }
View Full Code Here

Examples of org.voltcore.messaging.LocalObjectMessage

            @Override
            public void run() {
                m_currentHSIds.remove(hSId);
            }
        };
        return new LocalObjectMessage(sitePruner);
    }
View Full Code Here

Examples of org.voltcore.messaging.LocalObjectMessage

        long lastHeartbeatTime = System.currentTimeMillis();
        while (m_shouldContinue.get()) {
            VoltMessage msg = m_mailbox.recvBlocking(5);
            if (msg != null) {
                if (msg instanceof LocalObjectMessage) {
                    LocalObjectMessage lomsg = (LocalObjectMessage)msg;
                    ((Runnable)lomsg.payload).run();
                } else {
                    processMessage(msg);
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.