01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest.runner;
05:
06: import com.tc.simulator.app.GlobalIdGenerator;
07:
08: public final class TestGlobalIdGenerator implements GlobalIdGenerator {
09: int count = 0;
10:
11: public synchronized long nextId() {
12: return count++;
13: }
14: }
|