Beispiel #1
0
 public void GetAndAdd(Int64 value, Async.AsyncCallback <T> callback)
 {
     CounterService.GetInstance().GetAndAdd(counterName, value, callback);
 }
Beispiel #2
0
 public bool CompareAndSet(Int64 expected, Int64 updated)
 {
     return(CounterService.GetInstance().CompareAndSet(counterName, expected, updated));
 }
Beispiel #3
0
 public T AddAndGet(Int64 value)
 {
     return(CounterService.GetInstance().AddAndGet <T>(counterName, value));
 }
Beispiel #4
0
 public T GetAndAdd(Int64 value)
 {
     return(CounterService.GetInstance().GetAndAdd <T>(counterName, value));
 }
Beispiel #5
0
 public T DecrementAndGet()
 {
     return(CounterService.GetInstance().DecrementAndGet <T>(counterName));
 }
Beispiel #6
0
 public void DecrementAndGet(Async.AsyncCallback <T> callback)
 {
     CounterService.GetInstance().DecrementAndGet(counterName, callback);
 }
Beispiel #7
0
 public T GetAndDecrement()
 {
     return(CounterService.GetInstance().GetAndDecrement <T>(counterName));
 }
Beispiel #8
0
 public T Get()
 {
     return(CounterService.GetInstance().Get <T>(counterName));
 }
Beispiel #9
0
 public void Reset(AsyncCallback <Object> callback)
 {
     CounterService.GetInstance().Reset(counterName, callback);
 }
Beispiel #10
0
 public void Reset()
 {
     CounterService.GetInstance().Reset(counterName);
 }
Beispiel #11
0
 public void CompareAndSet(Int64 expected, Int64 updated, Async.AsyncCallback <bool> callback)
 {
     CounterService.GetInstance().CompareAndSet(counterName, expected, updated, callback);
 }