annotate src/main/java/christie/test/TakeNotSyncronized/TakeNotSyncCodeGear2.java @ 194:28c26ea5ef86

add take Sync Test
author akahori
date Wed, 06 Mar 2019 21:40:10 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
194
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
1 package christie.test.TakeNotSyncronized;
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
2
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
3 import christie.annotation.Take;
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
4 import christie.codegear.CodeGear;
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
5 import christie.codegear.CodeGearManager;
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
6
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
7 public class TakeNotSyncCodeGear2 extends CodeGear {
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
8 @Take
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
9 int b;
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
10
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
11 @Take
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
12 int c;
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
13
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
14 @Override
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
15 protected void run(CodeGearManager cgm) {
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
16 System.out.println("exec " + getClass().getName());
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
17
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
18 }
28c26ea5ef86 add take Sync Test
akahori
parents:
diff changeset
19 }