Commit Graph

1215 Commits

Author SHA1 Message Date
Robinson
54eab9d6c8
code cleanup 2023-09-06 16:19:40 +02:00
Robinson
0bd725b2d8
Removed withKryo{} lambda (was causing heap issues) 2023-09-06 16:17:36 +02:00
Robinson
b30b024849
Added readKryos for streaming 2023-09-06 16:17:03 +02:00
Robinson
26e6da555b
Now catch and watch Throwable instead of just Exception 2023-09-05 23:39:40 +02:00
Robinson
ae5a48b309
Added back a/syncSuspend 2023-09-05 23:38:53 +02:00
Robinson
48f1555ace
Removed unnecessary Suspend Trampoline 2023-09-05 23:38:32 +02:00
Robinson
3704ae25e7
RmiUtils now accepts Throwable instead of Exception 2023-09-05 23:38:13 +02:00
Robinson
7c326d180c
Converted the RMI response manager to use blocking instead of suspending calls. 2023-09-05 12:59:49 +02:00
Robinson
3e9a8f9c74
Moved ping to the connection object 2023-09-05 12:58:38 +02:00
Robinson
effed36faf
Server Handshake has its own dispatcher, and its in the HandshakePollers object 2023-09-05 12:58:21 +02:00
Robinson
1b2487daec
Error notifications have their own dispatcher now (and it's in the ListenerManager) 2023-09-05 12:57:41 +02:00
Robinson
d64a4bb1e1
Moved ping() to the connection object 2023-09-05 12:57:16 +02:00
Robinson
769bad6aac
tweaked function names and timeouts 2023-09-05 12:56:14 +02:00
Robinson
2d061220f5
Cleaned up how errors are managed 2023-09-05 12:55:58 +02:00
Robinson
8b62dbb063
Removed more coroutine, simplified methods 2023-09-04 14:23:06 +02:00
Robinson
e185f496ec
Removed coroutines/suspending calls 2023-09-04 00:48:00 +02:00
Robinson
6291e1aa77
ResponseManager uses its own, internal dispatcher for events 2023-09-04 00:01:27 +02:00
Robinson
e7999d3095
WIP - removing heap allocations 2023-09-03 21:17:37 +02:00
Robinson
620e74a506
Added package-info.java 2023-09-03 21:09:54 +02:00
Robinson
f631dea046
If reconnect is called on a client WITHOUT being first closed, it will close first. 2023-08-30 12:02:04 +02:00
Robinson
364b29fd0c
version 6.9.1 2023-08-21 19:53:10 +02:00
Robinson
b639ec1372
UDP frame size information moved to startup. 2023-08-21 19:52:19 +02:00
Robinson
0747802f0d
updated deps, version 6.9 2023-08-21 02:20:41 +02:00
Robinson
87173af0b7
version 6.8 2023-08-20 14:28:12 +02:00
Robinson
c95e811fde
version 6.7 2023-08-11 16:23:49 -06:00
Robinson
c856c23e3c
Server connections are checked for isConnected() status during poll events 2023-08-11 10:02:57 -06:00
Robinson
e8724ea4c5
Client connections are checked for isConnected() status during poll events 2023-08-11 09:57:24 -06:00
Robinson
95b1b44890
Only set the send/recv buffer sizes if they have been configured 2023-08-10 23:34:27 -06:00
Robinson
8e7c47abcc
code cleanup 2023-08-10 20:11:23 -06:00
Robinson
96f5406ae6
More careful checks when closing endpoints during restart
code polish
2023-08-10 20:05:49 -06:00
Robinson
ad9771263c
driver endpoint list is now concurrent 2023-08-10 20:04:23 -06:00
Robinson
466363901c
code cleanup 2023-08-10 20:03:06 -06:00
Robinson
77d56b8804
Direct access to critical error now instead of proxy 2023-08-10 20:02:38 -06:00
Robinson
b8a6f5436d
Updated API for unittests 2023-08-09 22:35:15 -06:00
Robinson
50ab7fc72f
config.id -> mediaDriverId() 2023-08-09 22:13:55 -06:00
Robinson
def935214f
comment cleanup 2023-08-09 22:13:39 -06:00
Robinson
07e1da3660
Tweaked how waiting for close works 2023-08-09 22:13:12 -06:00
Robinson
2b5e943369
can optionally notifyDisconnect when closing a connection 2023-08-09 22:12:52 -06:00
Robinson
1ded010b89
code cleanup 2023-08-09 22:12:29 -06:00
Robinson
19b36bde9f
driver.start/close are now reentrant 2023-08-09 22:12:18 -06:00
Robinson
90d218637c
Cleaned up how new aeron drivers are created 2023-08-09 22:11:57 -06:00
Robinson
96cd987238
config.id -> mediaDriverId() 2023-08-09 22:09:44 -06:00
Robinson
4d73d4802c
cleaned up imports 2023-08-09 22:06:22 -06:00
Robinson
e2b5f522e0
AddError is no longer suspending 2023-08-09 21:47:29 -06:00
Robinson
ce311fea86
Added more support for criticalDriverErrors 2023-08-09 21:47:06 -06:00
Robinson
d9bac748f8
added endpoint to inUse() 2023-08-09 21:45:54 -06:00
Robinson
6e76160c83
changed config.id -> mediaDriverId() 2023-08-09 21:45:28 -06:00
Robinson
836c8abce6
Cleaned up/tweaked endpoint.close() 2023-08-09 21:35:40 -06:00
Robinson
3852677feb
connect event dispatch check only redispatches when it's ON the EDT, but NOT in the correct one 2023-08-09 21:31:00 -06:00
Robinson
e9f7172b62
code polish for event poller 2023-08-09 21:30:17 -06:00
Robinson
4c3135028a
driver.close method cleanup 2023-08-09 21:29:28 -06:00
Robinson
a7533d2c91
closed check is now volatile 2023-08-09 21:28:03 -06:00
Robinson
db385d0c1a
inUse check now uses the endpoint for extra checks 2023-08-09 21:23:52 -06:00
Robinson
28d170c25c
Added support for detecting critical driver errors 2023-08-09 21:18:47 -06:00
Robinson
3dcd2af495
Moved aeron.send() logic to the driver 2023-08-09 21:17:10 -06:00
Robinson
9fcbabd061
cleaned up logging 2023-08-09 21:10:41 -06:00
Robinson
eaafc0f0c4
reset the endpoint config (not the initial config) when resetting. 2023-08-09 16:37:09 -06:00
Robinson
9a30c031ef
Added extra checks when adding pub/sub for when there is an ERRORED state 2023-08-07 22:30:53 -06:00
Robinson
296c600245
Added more detailed info when reconnecing 2023-08-07 19:56:38 -06:00
Robinson
8aa919b28a
simplified connect redispatch logic 2023-08-07 19:56:14 -06:00
Robinson
59bc934dc1
moved checks to earlier in the connect process 2023-08-07 19:55:51 -06:00
Robinson
4d2de085a5
Added data success checks when streaming messages.
Expanded exceptions when thrown
2023-08-07 19:54:49 -06:00
Robinson
6dc7e6bc41
If we close the event poller WHILE ON the event poller, re-dispatch the close event to the CLOSE dispatch 2023-08-07 19:53:59 -06:00
Robinson
08d58fd6fd
Fixed issues with recursive aeron directory name 2023-08-07 00:09:14 -06:00
Robinson
ae08ff2c2f
Updated classutils 2023-08-05 13:24:21 -06:00
Robinson
4a80c2c0b8
Reconnect now can have a specified timeout 2023-08-04 23:32:00 -06:00
Robinson
16c8386ae1
Updated API for collections 2023-08-04 23:31:44 -06:00
Robinson
e5786550a6
Updated version 2023-07-24 02:00:03 +02:00
Robinson
3016618b1c
Added support for also changing the aeron driver idle strategies 2023-07-24 01:42:27 +02:00
Robinson
57480735c3
By default, create dev/shm for macos (ram drive). Windows still uses the disk. 2023-07-23 23:36:36 +02:00
Robinson
15c7fb2a3d
Code cleanup 2023-07-23 23:02:29 +02:00
Robinson
ccf7a37d3c
Commented out unnecessary code 2023-07-23 16:05:07 +02:00
Robinson
fa04185234
Fixed equals 2023-07-23 15:49:25 +02:00
Robinson
a140c844db
Code cleanup 2023-07-23 13:41:29 +02:00
Robinson
7f6550f1c1
Now use defaults for idle strategies 2023-07-23 13:40:42 +02:00
Robinson
6754e35c61
Code cleanup 2023-07-23 13:40:16 +02:00
Robinson
06b5f30948
Only check if a connection is closed now. We now wait for pub+sub to be "connected" before continuing to build the connection object (so it will always be in the connected state) 2023-07-23 13:39:27 +02:00
Robinson
ad3fdfc64d
Updated text names for idle strategies 2023-07-23 13:30:38 +02:00
Robinson
daec762e30
More specific errors when connection is closed during poll event 2023-07-23 01:20:16 +02:00
Robinson
949a863aca
Fixed instance assignment 2023-07-23 01:17:37 +02:00
Robinson
a087dfa9bd
Faster startup when aeron is already running and we force-allow a driver to be running on startup (usually we don't want this) 2023-07-23 01:17:09 +02:00
Robinson
936a5e2d67
Added ability for subscription to wait for a publication to connect 2023-07-23 01:16:23 +02:00
Robinson
2d8956c78c
Client waits for server publication to connect before continuing. 2023-07-22 14:18:38 +02:00
Robinson
781d530294
added comments 2023-07-21 22:46:41 +02:00
Robinson
ed2ddb239d
Tweaked aeron idle strategies 2023-07-21 22:46:30 +02:00
Robinson
ee558e666d
Added additional idle strategies 2023-07-21 21:16:49 +02:00
Robinson
ed89b634a2
Added comments 2023-07-21 21:16:37 +02:00
Robinson
2620a06409
Cleaned up how kryo's are used
Changed idleStrategy
StreamingManager no longer copies bytes (it just uses a pooled kryo instance)
2023-07-21 00:19:31 +02:00
Robinson
7ed474111a
Code cleanup 2023-07-20 22:31:27 +02:00
Robinson
916ddb857f
fixed comment typo 2023-07-20 20:41:23 +02:00
Robinson
2c0680b513
Simplified setting aeron initial window length 2023-07-20 20:41:13 +02:00
Robinson
0e37689c2c
better logs when retrying the connect sequence 2023-07-20 20:40:43 +02:00
Robinson
7bd653db2a
Better IPC checking 2023-07-20 20:40:17 +02:00
Robinson
e2a4887a19
Changed order of cleanup when done with handshake 2023-07-20 20:39:58 +02:00
Robinson
0e3cc803b2
More detailed logging when in debug mode 2023-07-20 20:39:26 +02:00
Robinson
80d77f2f51
Better lock-step and checks when closing an endpoint 2023-07-20 20:39:12 +02:00
Robinson
d787045149
Updated version 2023-07-16 14:58:01 +02:00
Robinson
94048cfe8f
Added file transport to streaming manager 2023-07-16 14:57:04 +02:00
Robinson
bb026f377b
WIP compression/crypto 2023-07-15 13:12:59 +02:00
Robinson
c4eda86bfe
Optimized how we send data (we use our own stream/block data structures for fragmentation/reassembly. 2023-07-15 13:11:50 +02:00