net.java.truevfs.comp.inst.InstrumentingModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truevfs-comp-inst Show documentation
Show all versions of truevfs-comp-inst Show documentation
Provides basic functionality for instrumenting the TrueVFS Kernel.
/*
* Copyright (C) 2005-2015 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package net.java.truevfs.comp.inst;
import java.util.Objects;
import javax.annotation.concurrent.ThreadSafe;
import net.java.truevfs.kernel.spec.FsDecoratingModel;
import net.java.truevfs.kernel.spec.FsModel;
/**
* @param the type of the mediator.
* @author Christian Schlichtherle
*/
@ThreadSafe
public class InstrumentingModel>
extends FsDecoratingModel {
protected final M mediator;
public InstrumentingModel(
final M mediator,
final FsModel model) {
super(model);
this.mediator = Objects.requireNonNull(mediator);
}
}