All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.backendless.servercode.extension.AtomicOperationExtender Maven / Gradle / Ivy

The newest version!
package com.backendless.servercode.extension;

import com.backendless.servercode.ExecutionResult;
import com.backendless.servercode.RunnerContext;

import java.util.Set;

public abstract class AtomicOperationExtender
{
  public void beforeReset( RunnerContext context, String counterName ) throws Exception
  {

  }

  public void afterReset( RunnerContext context, String counterName, ExecutionResult result ) throws Exception
  {

  }

  public void beforeGetAndIncrement( RunnerContext context, String counterName ) throws Exception
  {

  }

  public void afterGetAndIncrement( RunnerContext context, String counterName, ExecutionResult result ) throws Exception
  {

  }

  public void beforeIncrementAndGet( RunnerContext context, String counterName ) throws Exception
  {

  }

  public void afterIncrementAndGet( RunnerContext context, String counterName, ExecutionResult result ) throws Exception
  {

  }

  public void beforeDecrementAndGet( RunnerContext context, String counterName ) throws Exception
  {

  }

  public void afterDecrementAndGet( RunnerContext context, String counterName, ExecutionResult result ) throws Exception
  {

  }

  public void beforeGetAndDecrement( RunnerContext context, String counterName ) throws Exception
  {

  }

  public void afterGetAndDecrement( RunnerContext context, String counterName, ExecutionResult result ) throws Exception
  {

  }

  public void beforeAddAndGet( RunnerContext context, String counterName, long value ) throws Exception
  {

  }

  public void afterAddAndGet( RunnerContext context, String counterName, long value, ExecutionResult result ) throws Exception
  {

  }

  public void beforeGetAndAdd( RunnerContext context, String counterName, long value ) throws Exception
  {

  }

  public void afterGetAndAdd( RunnerContext context, String counterName, long value,
                              ExecutionResult result ) throws Exception
  {

  }

  public void beforeGet( RunnerContext context, String counterName ) throws Exception
  {

  }

  public void afterGet( RunnerContext context, String counterName, ExecutionResult result ) throws Exception
  {

  }

  public void beforeCompareAndSet( RunnerContext context, String counterName, long expected, long updated ) throws Exception
  {

  }

  public void afterCompareAndSet( RunnerContext context, String counterName, long expected, long updated, ExecutionResult result ) throws Exception
  {

  }

  public void beforeList( RunnerContext context,String pattern ) throws Exception
  {

  }

  public void afterList( RunnerContext context, String pattern, ExecutionResult> result ) throws Exception
  {

  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy