public PriorityManagerPara(int _capacity, global::CJBasic.ObjectManagement.Managers.ActionTypeOnAddOverflow actionType) { this.capacity = 0x7fffffff; this.actionTypeOnAddOverflow = global::CJBasic.ObjectManagement.Managers.ActionTypeOnAddOverflow.Wait; this.detectSpanInMSecsOnWait = 10; this.capacity = _capacity; this.actionTypeOnAddOverflow = actionType; }
public SamePriorityObjectManager() { this.waiterList = new LinkedList <T>(); this.smartRWLocker = new SmartRWLocker(); this.capacity = 0x7fffffff; this.actionTypeOnAddOverflow = global::CJBasic.ObjectManagement.Managers.ActionTypeOnAddOverflow.Wait; this.detectSpanInMSecsOnWait = 10; this.WaiterDiscarded += delegate { }; }
public SamePriorityObjectManager(int _capacity, global::CJBasic.ObjectManagement.Managers.ActionTypeOnAddOverflow actionType, int _detectSpanInMSecsOnWait) : this() { this.capacity = _capacity; this.actionTypeOnAddOverflow = actionType; this.detectSpanInMSecsOnWait = _detectSpanInMSecsOnWait; }
public SamePriorityObjectManager(int _capacity, global::CJBasic.ObjectManagement.Managers.ActionTypeOnAddOverflow actionType) : this(_capacity, actionType, 10) { }