com
.
twitter
.
algebird
.
util
.
summer
AsyncMapSum
Related Doc:
package summer
class
AsyncMapSum
[
Key
,
Value
]
extends
AsyncSummer
[(
Key
,
Value
),
Map
[
Key
,
Value
]] with
WithFlushConditions
[(
Key
,
Value
),
Map
[
Key
,
Value
]]
Source
AsyncMapSum.scala
Linear Supertypes
WithFlushConditions
[(
Key
,
Value
),
Map
[
Key
,
Value
]],
AsyncSummer
[(
Key
,
Value
),
Map
[
Key
,
Value
]],
AnyRef
,
Any
Type Hierarchy
AsyncMapSum[Key, Value]
AsyncSummer[(Key, Value), Map[Key, Value]]
WithFlushConditions[(Key, Value), Map[Key, Value]]
Ordering
Alphabetic
By Inheritance
Inherited
AsyncMapSum
WithFlushConditions
AsyncSummer
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
AsyncMapSum
(
bufferSize:
BufferSize
,
flushFrequency:
FlushFrequency
,
softMemoryFlush:
MemoryFlushPercent
,
memoryIncr:
Incrementor
,
timeoutIncr:
Incrementor
,
insertOp:
Incrementor
,
tuplesOut:
Incrementor
,
sizeIncr:
Incrementor
,
workPool:
FuturePool
)
(
implicit
semigroup:
Semigroup
[
Value
]
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
add
(
t: (
Key
,
Value
)
)
:
Future
[
Map
[
Key
,
Value
]]
Definition Classes
AsyncSummer
def
addAll
(
vals:
TraversableOnce
[(
Key
,
Value
)]
)
:
Future
[
Map
[
Key
,
Value
]]
Definition Classes
AsyncMapSum
→
AsyncSummer
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
cleanup
:
Future
[
Unit
]
Definition Classes
AsyncSummer
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
emptyResult
:
Map
[
Key
,
Value
]
Attributes
protected
Definition Classes
AsyncMapSum
→
WithFlushConditions
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flush
:
Future
[
Map
[
Key
,
Value
]]
Definition Classes
AsyncMapSum
→
AsyncSummer
val
flushFrequency
:
FlushFrequency
Definition Classes
AsyncMapSum
→
WithFlushConditions
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
isFlushed
:
Boolean
Definition Classes
AsyncMapSum
→
AsyncSummer
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
var
lastDump
:
Long
Attributes
protected
Definition Classes
WithFlushConditions
val
memoryIncr
:
Incrementor
Definition Classes
AsyncMapSum
→
WithFlushConditions
def
memoryWaterMark
:
Boolean
Attributes
protected
Definition Classes
WithFlushConditions
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
lazy val
runtime
:
Runtime
Attributes
protected
Definition Classes
WithFlushConditions
val
softMemoryFlush
:
MemoryFlushPercent
Definition Classes
AsyncMapSum
→
WithFlushConditions
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
tick
:
Future
[
Map
[
Key
,
Value
]]
Definition Classes
WithFlushConditions
→
AsyncSummer
def
timedOut
:
Boolean
Attributes
protected
Definition Classes
WithFlushConditions
val
timeoutIncr
:
Incrementor
Definition Classes
AsyncMapSum
→
WithFlushConditions
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withCleanup
(
cleanup: () ⇒
Future
[
Unit
]
)
:
AsyncSummer
[(
Key
,
Value
),
Map
[
Key
,
Value
]]
Definition Classes
AsyncSummer
Inherited from
WithFlushConditions
[(
Key
,
Value
),
Map
[
Key
,
Value
]]
Inherited from
AsyncSummer
[(
Key
,
Value
),
Map
[
Key
,
Value
]]
Inherited from
AnyRef
Inherited from
Any
Ungrouped