Oliver Schulz
5d08cd0b92
Removed ContByteString
...
A proper implementation of ContByteString with specialized return
types for methods like take, drop, etc. would have made things more
complex than it is worth.
2012-05-26 11:40:23 +02:00
Oliver Schulz
7273ac2f02
Fixed implementation of ByteIterator.InputStreamWrapper.next
2012-05-26 11:31:24 +02:00
Oliver Schulz
d3177bf08f
Improved return type specialization for methods implemented in super-type
2012-05-26 11:30:51 +02:00
Oliver Schulz
0c76e0f0f6
Moved ByteIterator implementations into object ByteIterator
2012-05-26 11:30:23 +02:00
Oliver Schulz
7d3edcddbc
Improved implementation of ByteStrings.iterator
2012-05-18 17:36:16 +02:00
Oliver Schulz
a032603858
Added variants of getBytes, getShorts, etc. to ByteByteIterator
...
Also removed byteOrder defaults for all get... methods.
2012-05-18 01:09:01 +02:00
Oliver Schulz
bc0693a2de
Added variants of putBytes, putShorts, etc. to ByteStringBuilder
...
Also removed byteOrder defaults for all put... methods.
2012-05-18 01:09:01 +02:00
Oliver Schulz
266c67679a
Added methods isCompact and isContiguous to ByteString
...
* The ability to check whether a ByteString is compact / contiguous
can be very useful when optimizing user code
2012-05-18 01:09:01 +02:00
Oliver Schulz
18e6e3ed7a
Made byteOrder implicit in ByteIterator methods
2012-05-18 01:09:01 +02:00
Oliver Schulz
5d7823fd49
Made byteOrder implicit in ByteStringBuilder methods
2012-05-18 01:09:01 +02:00
Oliver Schulz
844f09a5c7
Added methods getByte, getShort, etc. to ByteIterator
2012-05-18 01:09:01 +02:00
Oliver Schulz
15507dff85
Added methods putByte, putShort, etc. to ByteStringBuilder
2012-05-18 01:09:01 +02:00
Oliver Schulz
f4ee17dcac
Added methods getBytes, getShorts, etc. to ByteIterator
2012-05-18 01:09:01 +02:00
Oliver Schulz
f127b50ca2
Added methods putBytes, putShorts, etc. to ByteStringBuilder
2012-05-18 01:09:01 +02:00
Oliver Schulz
4517b44e8b
Added a java.io.InputStream wrapper for ByteIterator.
2012-05-18 01:09:01 +02:00
Oliver Schulz
53a01ecc12
Added a java.io.OutputStream wrapper to ByteStringBuilder
2012-05-18 01:09:01 +02:00
Oliver Schulz
3263f43060
Added a companion object, length and sizeHint to class ByteStreamBuilder
2012-05-18 01:09:01 +02:00
Oliver Schulz
b7e2246ce8
Improved implementations of ByteIterator.++
2012-05-18 01:09:01 +02:00
Oliver Schulz
018f1c92d5
Improved implementations of ByteString.++
2012-05-18 01:09:00 +02:00
Oliver Schulz
c8d7c995db
Enhanced ByteString implementation using ByteIterator
2012-05-18 01:09:00 +02:00
Oliver Schulz
76dab6354e
Added ByteIterator
2012-05-18 01:09:00 +02:00
Oliver Schulz
3436c3b14d
Added ByteString1.apply(bytes, startIndex, length)
2012-05-18 01:09:00 +02:00
Oliver Schulz
322edb2eca
Introduced ContByteString to complement CompactByteString
...
Many operations are necessarily more efficient on contiguous data
(represented by a contiguous part of an array) than on chunked data
(e.g. wrapping in a ByteBuffer, etc.).
It should be possibly to check whether a ByteString fulfills this
requirement and to specifically request such a ByteString for specific
applications. The new abstract ContByteString, as a natural bridge
between CompactByteString and ByteString, provides this.
2012-05-18 01:09:00 +02:00
Oliver Schulz
9076fbf268
Optimized ByteString1.++
2012-05-18 01:09:00 +02:00
Roland
4256522fc8
clarify semantics of name reuse/gracefulStop, see #2073
2012-05-16 13:43:00 +02:00
Roland
3757fbd24b
Merge branch 'wip-expect-primitives-∂π'
2012-05-16 09:10:58 +02:00
Roland
9105720809
properly take boxing into account when expecting messages by type or class
2012-05-15 21:12:46 +02:00
viktorklang
4794220e55
Merge pull request #454 from srp/master
...
assorted IO.SocketOption changes from last pull request comments
2012-05-15 07:19:04 -07:00
Scott R. Parish
39a36b7116
IO.SocketOption: switch back to one line-per case
2012-05-15 09:10:19 -05:00
Scott R. Parish
4eef9cd341
IO#fowardFailure: catch NonFatal rather then all Throwables
2012-05-15 09:10:19 -05:00
Scott R. Parish
8aeb313492
IO: use defaults for SocketOption param rather then overloading
...
Now that we're not targetting a 2.0 release we can break backwards
binary compat.
2012-05-15 08:49:57 -05:00
Scott R. Parish
34b2c24d33
IO.SocketOption: catch exceptions and forward them back to sender
2012-05-15 08:40:03 -05:00
Scott R. Parish
f7e1fbc11b
IO.SocketOption: add require around TrafficClass range restrictions
2012-05-15 07:33:09 -05:00
Scott R. Parish
ecf8469c75
IO.SocketOption: improve SoTimeout documentation wording
2012-05-15 07:32:29 -05:00
Scott R. Parish
802f18b46b
IO.SocketOption to link to java docs
...
Unfortunately scaladocs don't seem to support urls, or i would make
these link directly to the Socket docs
2012-05-15 07:20:08 -05:00
Jonas Bonér
2e248e4b49
Removed code for tutorial, already removed in docs since duplicate in Typesafe/Akka getting started guide and template
2012-05-15 09:19:02 +02:00
Jonas Bonér
1c426e4772
Improved the docs for dataflow concurrency
2012-05-14 15:43:58 +02:00
Viktor Klang
796a155223
Merge remote branch 'origin/wip-adding-assertions-in-IO-√'
2012-05-14 11:09:16 +02:00
viktorklang
4d9c836b04
Merge pull request #450 from akka/wip-checked-duration-∂π
...
Wip checked duration ∂π
2012-05-14 01:52:25 -07:00
patriknw
80cbb7e32b
Merge pull request #451 from akka/wip-2065-AccrualFailureDetector-maxSampleSize-patriknw
...
AccrualFailureDetector doesn't use maxSampleSize correctly. See #2065
2012-05-14 01:42:21 -07:00
Patrik Nordwall
99d036d99a
Use maxSampleSize correctly. See #2065
...
* Added failing test
* Fixed wrong drop
* Boy scout cleanup
2012-05-14 09:35:15 +02:00
Patrik Nordwall
bcc208819a
Added .scalastyle to .gitignore
2012-05-14 09:34:59 +02:00
Roland
18566a7401
fix SchedulerSpec
2012-05-13 23:22:41 +02:00
Roland
71e1597987
add range checks (and tests) for Duration, see #2064
...
- also improve hashCode and allow negative string representation
2012-05-13 23:04:16 +02:00
Peter Vlugter
885ed7cb36
Use previous snapshot publishing, rather than sonatype
2012-05-13 21:14:23 +12:00
viktorklang
ca1baebfbb
Merge pull request #448 from akka/ticket_1732
...
various comments processed on top of ticket 1732
2012-05-12 06:36:51 -07:00
RayRoestenburg
a142700294
named ActivationTracker actor camelActivationTracker
2012-05-11 21:46:40 +02:00
RayRoestenburg
d4c5867528
various comments processed
2012-05-11 21:37:40 +02:00
Björn Antonsson
d004240f33
Merge branch 'master' of github.com:akka/akka
2012-05-11 18:31:29 +02:00
Björn Antonsson
38d43aee13
Added caution about custom routers to docs
2012-05-11 18:31:20 +02:00