Examples of StreamSnapshotSink


Examples of org.voltdb.rejoin.StreamSnapshotSink

    {
        m_coordinatorHsId = message.m_sourceHSId;
        m_schemaHasNoTables = message.schemaHasNoTables();
        if (!m_schemaHasNoTables) {
            m_streamSnapshotMb = VoltDB.instance().getHostMessenger().createMailbox();
            m_rejoinSiteProcessor = new StreamSnapshotSink(m_streamSnapshotMb);
        }
        else {
            m_streamSnapshotMb = null;
            m_rejoinSiteProcessor = null;
        }
View Full Code Here

Examples of org.voltdb.rejoin.StreamSnapshotSink

    public ElasticJoinProducer(int partitionId, SiteTaskerQueue taskQueue)
    {
        super(partitionId, "Elastic join producer:" + partitionId + " ", taskQueue);
        m_completionAction = new CompletionAction();
        m_streamSnapshotMb = VoltDB.instance().getHostMessenger().createMailbox();
        m_dataSink = new StreamSnapshotSink(m_streamSnapshotMb);
    }
View Full Code Here

Examples of org.voltdb.rejoin.StreamSnapshotSink

     */
    private void initiateRejoin(long rejoinCoordinatorHSId) {
        m_rejoinCoordinatorHSId = rejoinCoordinatorHSId;

        // Construct a snapshot stream receiver
        m_rejoinSnapshotProcessor = new StreamSnapshotSink(VoltDB.instance().getHostMessenger().createMailbox());

        long hsId = m_rejoinSnapshotProcessor.initialize(1, null);

        // Construct task log and start logging task messages
        int partition = getCorrespondingPartitionId();
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.