spark
.
util
RateLimitedOutputStream
class
RateLimitedOutputStream
extends
OutputStream
Linear Supertypes
OutputStream
,
Flushable
,
Closeable
, AnyRef,
Any
Ordering
Alphabetic
By inheritance
Inherited
Hide All
Show all
RateLimitedOutputStream
OutputStream
Flushable
Closeable
AnyRef
Any
Visibility
Public
All
Instance Constructors
new
RateLimitedOutputStream
(
out:
OutputStream
,
bytesPerSec:
Int
)
Value Members
final
def
!=
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
val
CHUNK_SIZE
:
Int
val
SYNC_INTERVAL
:
Long
final
def
asInstanceOf
[
T0
]
: T0
Definition Classes
Any
var
bytesWrittenSinceSync
:
Long
def
clone
()
: AnyRef
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
def
close
()
:
Unit
Definition Classes
RateLimitedOutputStream
→ OutputStream → Closeable
final
def
eq
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
def
flush
()
:
Unit
Definition Classes
RateLimitedOutputStream
→ OutputStream → Flushable
final
def
getClass
()
: java.lang.Class[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
var
lastSyncTime
:
Long
final
def
ne
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒ T0
)
: T0
Definition Classes
AnyRef
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
()
final
def
write
(
bytes:
Array
[
Byte
]
,
offset:
Int
,
length:
Int
)
:
Unit
Definition Classes
RateLimitedOutputStream
→ OutputStream
Annotations
@tailrec
()
def
write
(
bytes:
Array
[
Byte
]
)
:
Unit
Definition Classes
RateLimitedOutputStream
→ OutputStream
def
write
(
b:
Int
)
:
Unit
Definition Classes
RateLimitedOutputStream
→ OutputStream
Inherited from
OutputStream
Inherited from
Flushable
Inherited from
Closeable
Inherited from AnyRef
Inherited from
Any