1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
3 * Copyright (c) 2010, 2011 École Polytechnique de Montréal
4 * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
6 * All rights reserved. This program and the accompanying materials are
7 * made available under the terms of the Eclipse Public License v1.0 which
8 * accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.statesystem
.backend
.historytree
;
18 * Configuration object for a StateHistoryTree.
23 final class HTConfig
{
25 public final File stateFile
;
26 public final int blockSize
;
27 public final int maxChildren
;
28 public final long treeStart
;
30 HTConfig(File newStateFile
, int blockSize
, int maxChildren
, long startTime
) {
31 this.stateFile
= newStateFile
;
32 this.blockSize
= blockSize
;
33 this.maxChildren
= maxChildren
;
34 this.treeStart
= startTime
;
38 * Version using default values for blocksize and maxchildren
40 * @param stateFileName
43 HTConfig(File newStateFile
, long startTime
) {
44 this(newStateFile
, 64 * 1024, 50, startTime
);
This page took 0.040255 seconds and 5 git commands to generate.