Commit graph

85 commits

Author SHA1 Message Date
He-Pin(kerr)
77532c1bb5
feat: Add retry with predicate (#1269) 2024-04-23 20:34:16 +08:00
João Costa
f70c26087c
chore: Fix ByteIterator#indexWhere (#1282)
It would blow up when from was out of bounds.
2024-04-16 10:41:21 +08:00
PJ Fanning
276a757d77
fix issue with forkjoin (#1245) 2024-03-31 19:12:45 +02:00
PJ Fanning
a2835b029d
support jdk9 forkjoinpool maximum-pool-size (#485)
* support jdk9 forkjoinpool maximum-pool-size

Update PekkoJdk9ForkJoinPool.scala

Update ForkJoinPoolConstants.scala

scala 2.12 compile issue

review comments

use methodhandle

review comments

* refactor imports

Update PekkoJdk9ForkJoinPool.scala
2024-03-30 13:45:02 +01:00
PJ Fanning
e3410bcaa8
Pekko becomes TLP (#1214) 2024-03-22 14:16:08 +01:00
Nicolas Vollmar
fa5c83f36f Add handling for tcp register timeout leaving connection dead 2024-03-09 10:51:12 +01:00
He-Pin(kerr)
1c85155047
chore: Replace Akka with Pekko in ActorSystem.scala (#1163) 2024-03-01 11:37:25 +08:00
AndyChen(Jingzhang)
2fdf7c9e9b
fix: proper path when promise actor terminated quickly (#1156) 2024-02-28 09:15:01 +01:00
AndyChen(Jingzhang)
8ce4973fc9
Configuration typo fixes (#1100)
* configuration typo

* chore: all module configuration typo fix

* apply suggestion
2024-02-05 17:21:23 +01:00
PJ Fanning
ef628ea320
add asInputStream to ByteString (#1085)
* add getInputStream to ByteString

* scala 2 updates

* rename as asInputStream

* make methods final

* use different asInputStream implementations on different subclasses

Co-Authored-By: João Ferreira <943051+jtjeferreira@users.noreply.github.com>

* Update ByteBufferBackedInputStream.scala

scalafmt

* remove default asInputStream impl

* add some tests - more needed

* Create bytestring-inputstream.excludes

* scalafmt

* Update bytestring-inputstream.excludes

* Update ByteStringInputStreamSpec.scala

* Update ByteStringInputStreamSpec.scala

* Update ByteStringInputStreamSpec.scala

* add benchmark

* Update ByteString_asInputStream_Benchmark.scala

* change to iterator earlier in chain

---------

Co-authored-by: João Ferreira <943051+jtjeferreira@users.noreply.github.com>
2024-02-05 16:09:56 +01:00
Matthew de Detrich
25f80a160a Remove scala 3 inline keyword since its erased in bytecode 2024-01-29 11:57:03 +01:00
Matthew de Detrich
24ce39c010 Add targetName overloaded methods for Scala 3 inline methods 2024-01-29 00:21:36 +01:00
He-Pin(kerr)
8e7ae52a06
perf: Make use of System.arraycopy directly. (#1001) 2024-01-26 19:54:46 +08:00
He-Pin
4d8aa26404 chore: Add PekkoManagedBlocker to reduce memory. 2024-01-23 22:20:54 +08:00
AndyChen
7b2a3d8c27
fix: reject zero and negative periodic tasks schedule (#887)
* fix: reject zero and negative periodic tasks schedule

* fix: undo the symbol change

* use different test name, redescribe the exception

* abstract check function

* remove the printlns change

* reduce time units scale convert
2024-01-18 12:47:13 +01:00
PJ Fanning
7c82c2a1c4
fix up javadoc on Creator trait (#961) 2024-01-16 00:56:25 +08:00
He-Pin(kerr)
87609395a6
chore: Deprecate JAPI. (#949) 2024-01-15 19:34:25 +08:00
He-Pin(kerr)
df302b8ee6
feat: Add create method to PFBuilder. (#947) 2024-01-15 17:37:14 +08:00
PJ Fanning
8c688dad2e
use more of StandardCharsets (#952)
* use more of StandardCharsets

* scalafmt
2024-01-14 23:50:50 +01:00
Laglangyue
6872f9c8b7
Fix some non-standard comments (#939)
* Fix some non-standard comments

* revert

---------

Co-authored-by: Jiafu Tang <jiafu.tang@qq.com>
2024-01-14 12:47:51 +01:00
PJ Fanning
d5381958c8
fix ByteStringBuilder.addAll (#903)
* fix ByteStringBuilder.addAll

* sort out tests for different scala versions

* rework tests

* rework unmanaged source dirs
2024-01-04 12:21:13 +01:00
Matthew de Detrich
ca64e66bc7 Fix Windows path issue with option-converters.excludes 2024-01-04 04:57:35 +01:00
Matthew de Detrich
f8c4aee8be Remove Scala 3 inline keyword from Java specific conversion methods 2024-01-01 01:55:16 +01:00
Matthew de Detrich
0f1db5301e Fix remaining missing inline statements/annotations 2023-12-30 07:13:27 +01:00
Matthew de Detrich
8cb7d256dc Remove @inline annotations and enable Scala 2 inliner 2023-12-30 03:41:12 +01:00
PJ Fanning
f6af100531
rework noisy dns log (#835) 2023-12-08 10:24:35 +01:00
PJ Fanning
860d0166a2
do not render env variables in configs (#771)
* do not render env variables in configs

* redact username when logging configs

* Update ActorSystemSpec.scala

* add test

scalafmt

* try/finally
2023-11-13 21:30:02 +01:00
PJ Fanning
99b4df31d4
mark function tail recursive (#780) 2023-11-07 00:15:11 +01:00
Matthew de Detrich
34815bc196 Replace Akka reference with Pekko 2023-10-09 17:53:29 +02:00
AndyChen
225701d4d6
fix: confusion deadletter while ask timeout #668 (#664)
* fix: keep typed ask deadletter same as classic

* fix: compile on scala3

* fix: a more convincing test

* chore: remove unnecessary header

* chore: use raw apache license

* chore: grammar and sort imports

* chore: grammar fix

* chore: copyright

* fix: immutable object domain

* fix: make it simple
2023-09-30 18:11:48 +01:00
Naoki Yamada
201992d984 Fix invalid scaladoc links which cannot be found (#353)
* Add enough package name
* Fix invalid syntax of links to a method
2023-09-26 19:26:45 +08:00
He-Pin
3ae618450f Make use of SAM instead. 2023-09-24 23:09:06 +08:00
He-Pin
cbdc8d866c =act Extract AtomicCancellable in Scheduler.
Signed-off-by: He-Pin <hepin1989@gmail.com>
2023-08-29 15:06:31 +08:00
Dongxu Wang
d610a080c5
improve scaladoc for DoNotInherit (#565) 2023-08-15 17:21:53 +01:00
PJ Fanning
4f570ea24c
Yet more Akka version numbers in deprecation warnings (#545)
* Yet more Akka version numbers in deprecation warnings

more

* more akka version numbers

Update ClusterMessageSerializer.scala

more changes
2023-08-07 00:47:04 +01:00
PJ Fanning
3c0672bac2
remove @since annotations with old Akka version numbers (#536) 2023-08-04 11:18:24 +01:00
PJ Fanning
964dcf53eb
remove shaded protobuf-java v2 jar (pekko-protobuf) (#489)
* remove protobuf v2 support

* Update OSGi.scala

* ci issue

* remove refs to pekko-protobuf classes

* fix comment

* update comments

* Update Serialization.scala
2023-08-01 11:35:58 +01:00
Matthew de Detrich
bd9ff4da5b Fix new sources so that they use the Apache standard header 2023-07-12 16:04:47 +02:00
He-Pin
4ce1095b4b =act Add @nowarn for unsafe deprecated usage.
Signed-off-by: He-Pin <hepin1989@gmail.com>
2023-06-26 19:39:35 +08:00
PJ Fanning
2f8ef56626
add license information for Caffeine code used in FrequencySketch (#446)
* add license information for Caffeine code used in FrequencySketch

* fix grammar issue
2023-06-23 09:36:08 +01:00
PJ Fanning
b0fdac259b
adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
PJ Fanning
10a1b9bbdd
acknowledge use of hash-prospector code (#438) 2023-06-21 12:20:02 +01:00
PJ Fanning
0a3a2431bd
better acknowledge code derived from scala-library (#436) 2023-06-21 12:18:49 +01:00
PJ Fanning
1a50e76fc3 change epfl license 2023-06-20 13:30:51 +02:00
PJ Fanning
08cf7cbdac add scala epfl license header 2023-06-20 13:30:51 +02:00
PJ Fanning
02af790f58 Delete PrettyByteString.scala 2023-06-20 13:07:14 +02:00
PJ Fanning
06467e87d3
add netty license header to file with significant netty input (#421) 2023-06-19 17:49:39 +01:00
PJ Fanning
01379c4171
Scala3 doc build does not like java @Deprecated mixed with Scala @deprecated (#406)
* Scala3 doc build does not like java `@Deprecated` mixed with Scala `@deprecated`

* Update ActorSource.scala
2023-06-16 15:27:11 +01:00
Matthew de Detrich
f6930d93da Add enchanced-double-hash-random for id-generator-policy
Co-authored-by: Claude Warren <claude.warren@aiven.io>
Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2023-06-16 12:48:37 +02:00
PJ Fanning
1281083b32
fix sign in code to generate a random signed short (#402)
* fix sign in code to generate a random signed short

* Update IdGenerator.scala

* Update IdGenerator.scala
2023-06-16 09:55:09 +01:00