Commit Graph

24 Commits

Author SHA1 Message Date
TheMode
2589cc4f3e Inline TickThread tick method
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-16 06:21:45 +02:00
TheMode
a0c38b94c6 Avoid unnecessary thread local lookup for acquirable entities
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-15 14:41:01 +02:00
TheMode
06d8586f7f Improve the thread provider api
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-12 22:55:37 +02:00
TheMode
c31aa8a7ec More safety in Acquired + doc
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-12 06:29:33 +02:00
TheMode
5106927b10 Add Acquirable#isLocal
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-11 20:24:11 +02:00
TheMode
f48199397a Simplify acquisition
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-09 20:49:54 +02:00
TheMode
acb8634b4b Acquirable style cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-09 17:16:20 +02:00
TheMode
2e8b3477bf Improve tick scheduling 2021-07-01 00:34:58 +02:00
TheMode
4db3b9317d Replace google Beta annotation to jetbrains ApiStatus.Experimental 2021-06-20 21:48:07 +02:00
TheMode
929a377dc0 Fix Acquirable#currentEntities
Signed-off-by: TheMode <themode@outlook.fr>
2021-04-27 12:16:38 +02:00
TheMode
b27e1fcf94 Added beta annotations 2021-04-26 14:53:47 +02:00
TheMode
9ca09a32bf Rename AcquirableCollection acquire methods name 2021-04-26 13:23:32 +02:00
TheMode
8ba99bb931 Acquirable#async is not blocking 2021-04-25 23:28:41 +02:00
TheMode
b8b62c4ff7 Simplify Acquirable#lock 2021-04-25 23:07:31 +02:00
TheMode
6c3c6e1438 Put implementation detail in AcquirableImpl 2021-04-25 20:00:03 +02:00
TheMode
b47946bfed Remove Acquisition.java 2021-04-25 19:08:04 +02:00
TheMode
1f06603c5b Acquirable comment 2021-04-25 09:42:47 +02:00
TheMode
41a0f22468 Prevent Acquired from being used after unlock 2021-04-24 21:39:39 +02:00
TheMode
9c99cb9b2e Removed unused method 2021-04-24 20:53:41 +02:00
TheMode
2577307da0 Make AcquirableCollection a simple collection wrapper 2021-04-24 20:40:23 +02:00
TheMode
2509085dc2 Rename optional to local 2021-04-24 19:56:39 +02:00
TheMode
34d10e57fa Reuse lock code 2021-04-24 18:30:21 +02:00
TheMode
0043cc7275 Re-added acquired to support manual locking 2021-04-24 18:25:15 +02:00
TheMode
845a8608db Simplify Acquirable, support for all objects 2021-04-24 18:14:12 +02:00