Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*-
  * See the file LICENSE for redistribution information.
  *
  * Copyright (c) 2002, 2013 Oracle and/or its affiliates.  All rights reserved.
  *
  */
 
 package com.sleepycat.je.cleaner;

Used to trace the relative numbers of full INs and BINDeltas that are obsolete vs active. May be used in the future for adjusting utilization.
public class INSummary {
    public int totalINCount;
    public int totalINSize;
    public int totalBINDeltaCount;
    public int totalBINDeltaSize;
    public int obsoleteINCount;
    public int obsoleteINSize;
    public int obsoleteBINDeltaCount;
    public int obsoleteBINDeltaSize;
    @Override
    public String toString() {
        StringBuilder buf = new StringBuilder();
        buf.append("<INSummary totalINCount=\"");
        buf.append();
        buf.append("\" totalINSize=\"");
        buf.append();
        buf.append("\" totalBINDeltaCount=\"");
        buf.append();
        buf.append("\" totalBINDeltaSize=\"");
        buf.append();
        buf.append("\" obsoleteINCount=\"");
        buf.append();
        buf.append("\" obsoleteINSize=\"");
        buf.append();
        buf.append("\" obsoleteBINDeltaCount=\"");
        buf.append();
        buf.append("\" obsoleteBINDeltaSize=\"");
        buf.append();
        buf.append("\"/>");
        return buf.toString();
    }
New to GrepCode? Check out our FAQ X