Package org.locationtech.geogig.remote.BinaryPackedObjects

Examples of org.locationtech.geogig.remote.BinaryPackedObjects.IngestResults.total()


        IngestResults ingestResults = unpacker.ingest(in, callback);
        sw.stop();

        String msg = String
                .format("Processed %,d objects. Inserted: %,d. Existing: %,d. Time: %s. Compressed size: %,d bytes. Uncompressed size: %,d bytes.",
                        ingestResults.total(), ingestResults.getInserted(),
                        ingestResults.getExisting(), sw, in.compressedSize(), in.unCompressedSize());
        LOGGER.info(msg);
        progress.setDescription(msg);
    }
View Full Code Here


            IngestResults ingestResults = unpacker.ingest(countingStream);
            sw.stop();

            LOGGER.info(String
                    .format("SendObjectResource: Processed %,d objects.\nInserted: %,d.\nExisting: %,d.\nTime to process: %s.\nStream size: %,d bytes.\n",
                            ingestResults.total(), ingestResults.getInserted(),
                            ingestResults.getExisting(), sw, countingStream.getCount()));

        } catch (IOException e) {
            LOGGER.warn("Error processing incoming objects from {}", request.getClientInfo()
                    .getAddress(), e);
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.