public virtual void Stop()
		{
			if (_timer == null)
			{
				return;
			}
			_timer.Stop();
			_timer = null;
		}
		public virtual void Start()
		{
			if (_timer != null)
			{
				return;
			}
			if (!_container.ConfigImpl.WeakReferences())
			{
				return;
			}
			if (_container.ConfigImpl.WeakReferenceCollectionInterval() <= 0)
			{
				return;
			}
			_timer = new SimpleTimer(new EnabledWeakReferenceSupport.Collector(this), _container
				.ConfigImpl.WeakReferenceCollectionInterval());
			_container.ThreadPool().Start("db4o WeakReference collector", _timer);
		}
Example #3
0
			public _IClosure4_37(SimpleTimer _enclosing)
			{
				this._enclosing = _enclosing;
			}
Example #4
0
		public ClientHeartbeat(ClientObjectContainer container)
		{
			_container = container;
			_timer = new SimpleTimer(this, Frequency(container.ConfigImpl));
		}
Example #5
0
 public _IClosure4_37(SimpleTimer _enclosing)
 {
     this._enclosing = _enclosing;
 }