com.sun.jini.fiddler
Class FiddlerImpl.SnapshotThresholdSetLogObj

java.lang.Object
  extended by com.sun.jini.fiddler.FiddlerImpl.SnapshotThresholdSetLogObj
All Implemented Interfaces:
FiddlerImpl.LogRecord, Serializable
Enclosing class:
FiddlerImpl

private static class FiddlerImpl.SnapshotThresholdSetLogObj
extends Object
implements FiddlerImpl.LogRecord

LogObj class whose instances are recorded to the log file whenever a new value is assigned to the Threshold used in the "time-to-take-a-snapshot determination" expression.

See Also:
FiddlerImpl.LocalLogHandler

Field Summary
private  int newThreshold
          The new snapshot threshold.
private static long serialVersionUID
           
 
Constructor Summary
FiddlerImpl.SnapshotThresholdSetLogObj(int newThreshold)
          Constructs this class and stores the new snapshot threshold
 
Method Summary
 void apply(FiddlerImpl fiddlerImpl)
          Modifies this service's state by setting the value of the private snapshotThresh field to the value of the new threshold.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

newThreshold

private int newThreshold
The new snapshot threshold.

Constructor Detail

FiddlerImpl.SnapshotThresholdSetLogObj

public FiddlerImpl.SnapshotThresholdSetLogObj(int newThreshold)
Constructs this class and stores the new snapshot threshold

Method Detail

apply

public void apply(FiddlerImpl fiddlerImpl)
Modifies this service's state by setting the value of the private snapshotThresh field to the value of the new threshold.

Specified by:
apply in interface FiddlerImpl.LogRecord
See Also:
FiddlerImpl.LocalLogHandler.applyUpdate(java.lang.Object)


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.