Skip to content

Commit 6cf71af

Browse files
[BKNDLSS-25594]: Atomic handlers (#503)
Co-authored-by: Vladimir Yalovy <[email protected]>
1 parent 5e5ca06 commit 6cf71af

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/com/backendless/servercode/extension/AtomicOperationExtender.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,22 @@ public void afterGetAndDecrement( RunnerContext context, String counterName, Exe
5757

5858
}
5959

60-
public void beforeAddAndGet( RunnerContext context, String counterName, Long value ) throws Exception
60+
public void beforeAddAndGet( RunnerContext context, String counterName, long value ) throws Exception
6161
{
6262

6363
}
6464

65-
public void afterAddAndGet( RunnerContext context, String counterName, Long value, ExecutionResult<Long> result ) throws Exception
65+
public void afterAddAndGet( RunnerContext context, String counterName, long value, ExecutionResult<Long> result ) throws Exception
6666
{
6767

6868
}
6969

70-
public void beforeGetAndAdd( RunnerContext context, String counterName, Long value ) throws Exception
70+
public void beforeGetAndAdd( RunnerContext context, String counterName, long value ) throws Exception
7171
{
7272

7373
}
7474

75-
public void afterGetAndAdd( RunnerContext context, String counterName, Long value,
75+
public void afterGetAndAdd( RunnerContext context, String counterName, long value,
7676
ExecutionResult<Long> result ) throws Exception
7777
{
7878

@@ -88,12 +88,12 @@ public void afterGet( RunnerContext context, String counterName, ExecutionResult
8888

8989
}
9090

91-
public void beforeCompareAndSet( RunnerContext context, String counterName, Long expected, Long updated ) throws Exception
91+
public void beforeCompareAndSet( RunnerContext context, String counterName, long expected, long updated ) throws Exception
9292
{
9393

9494
}
9595

96-
public void afterCompareAndSet( RunnerContext context, String counterName, Long expected, Long updated, ExecutionResult<Boolean> result ) throws Exception
96+
public void afterCompareAndSet( RunnerContext context, String counterName, long expected, long updated, ExecutionResult<Boolean> result ) throws Exception
9797
{
9898

9999
}

0 commit comments

Comments
 (0)