1 package com.atlassian.vcache.internal;
2
3 /**
4 * The management interface specific for a {@link VCacheLifecycleManager} which does not partition data.
5 *
6 * @since 1.0
7 */
8 public interface PartitionlessVCacheLifecycleManager extends VCacheLifecycleManager
9 {
10 /**
11 * To be called before a thread is about to perform a request (unit of work). This method must be called only
12 * once, and nested called are not allowed. Use {@link #isRequestInProgress()} to check whether a
13 * request is currently in progress.
14 *
15 * @throws IllegalStateException a request is currently in progress for this thread.
16 */
17 void requestSetup();
18 }