com.sun.jini.fiddler
Class FiddlerImpl.SnapshotWeightSetLogObj
java.lang.Object
com.sun.jini.fiddler.FiddlerImpl.SnapshotWeightSetLogObj
- All Implemented Interfaces:
- FiddlerImpl.LogRecord, Serializable
- Enclosing class:
- FiddlerImpl
private static class FiddlerImpl.SnapshotWeightSetLogObj
- extends Object
- implements FiddlerImpl.LogRecord
LogObj class whose instances are recorded to the log file whenever a
new value is assigned to the Weight Factor applied to the Snapshot File
size used in the "time-to-take-a-snapshot determination" expression.
- See Also:
FiddlerImpl.LocalLogHandler
Method Summary |
void |
apply(FiddlerImpl fiddlerImpl)
Modifies this service's state by setting the value of the private
snapshotWt field to the value of the new weight factor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
newWeight
private float newWeight
- The new snapshot weight factor.
FiddlerImpl.SnapshotWeightSetLogObj
public FiddlerImpl.SnapshotWeightSetLogObj(float newWeight)
- Constructs this class and stores the new weight factor
apply
public void apply(FiddlerImpl fiddlerImpl)
- Modifies this service's state by setting the value of the private
snapshotWt field to the value of the new weight factor.
- 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.