FileDocCategorySizeDatePackage
HAStatefulSessionStoreMonitor.javaAPI DocGlassfish v2 API3475Fri May 04 22:32:56 BST 2007com.sun.ejb.base.stats

HAStatefulSessionStoreMonitor

public class HAStatefulSessionStoreMonitor extends StatefulSessionStoreMonitor
An instance of this class is used by the StatefulContainer to update monitoring data. There is once instance of this class per StatefulEJBContainer
author
Mahesh Kannan

Fields Summary
private HAStatefulSessionStoreStatsImpl
haStatsImpl
Constructors Summary
Methods Summary
public final voidincrementCheckpointCount(boolean success)

	HAStatefulSessionStoreStatsImpl delegate = haStatsImpl;
	if (delegate != null) {
	    delegate.incrementCheckpointCount(success);
	}
    
public final voidsetCheckpointSize(long val)

	HAStatefulSessionStoreStatsImpl delegate = haStatsImpl;
	if (delegate != null) {
	    delegate.setCheckpointSize(val);
	}
    
public final voidsetCheckpointTime(long val)

	HAStatefulSessionStoreStatsImpl delegate = haStatsImpl;
	if (delegate != null) {
	    delegate.setCheckpointTime(val);
	}
    
protected voidsetDelegate(HAStatefulSessionStoreStatsImpl delegate)

	this.haStatsImpl = delegate;
	super.setDelegate(delegate);