comparison src/main/java/christie/test/TakeNotSyncronized/TakeNotSyncCodeGear1.java @ 194:28c26ea5ef86

add take Sync Test
author akahori
date Wed, 06 Mar 2019 21:40:10 +0900
parents
children
comparison
equal deleted inserted replaced
193:f4343de364da 194:28c26ea5ef86
1 package christie.test.TakeNotSyncronized;
2
3 import christie.annotation.Take;
4 import christie.codegear.CodeGear;
5 import christie.codegear.CodeGearManager;
6
7 public class TakeNotSyncCodeGear1 extends CodeGear {
8 @Take
9 int a;
10
11 @Take
12 int b;
13
14 @Override
15 protected void run(CodeGearManager cgm) {
16 System.out.println("exec " + getClass().getName());
17 }
18 }