View Javadoc

1   package com.atlassian.vcache.internal;
2   
3   /**
4    * Specifies the interface for a handler that is called when transactional activity has begun for a request.
5    *
6    * @since 1.2.0
7    */
8   @FunctionalInterface
9   public interface BegunTransactionalActivityHandler {
10      /**
11       * Called for the request that has begun transactional activity. The handler will be called only once for each
12       * request.
13       * @param context the {@link RequestContext} for the request that has begun transactional activity.
14       */
15      void onRequest(RequestContext context);
16  }