Package org.elasticsearch.river.mongodb.MongoDBRiver

Examples of org.elasticsearch.river.mongodb.MongoDBRiver.QueueEntry


            try {
                Timestamp<?> lastTimestamp = null;

                // 1. Attempt to fill as much of the bulk request as possible
                QueueEntry entry = context.getStream().take();
                lastTimestamp = processBlockingQueue(entry);
                while ((entry = context.getStream().poll(definition.getBulk().getFlushInterval().millis(), MILLISECONDS)) != null) {
                    lastTimestamp = processBlockingQueue(entry);
                }
View Full Code Here

TOP

Related Classes of org.elasticsearch.river.mongodb.MongoDBRiver.QueueEntry

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.