net
.
lag
.
kestrel
.
thrift
.
Kestrel
FinagledClient
class
FinagledClient
extends
FutureIface
Linear Supertypes
FutureIface
, AnyRef,
Any
Ordering
Alphabetic
By inheritance
Inherited
Hide All
Show all
FinagledClient
FutureIface
AnyRef
Any
Visibility
Public
All
Instance Constructors
new
FinagledClient
(
service:
Service
[
ThriftClientRequest
,
Array
[
Byte
]]
,
protocolFactory:
TProtocolFactory
=
...
,
serviceName: String =
""
,
stats:
StatsReceiver
=
...
)
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
def
abort
(
queueName: String
,
ids:
Set
[
Long
] =
Set[Long]()
)
:
Future
[
Int
]
Definition Classes
FinagledClient
→
FutureIface
final
def
asInstanceOf
[
T0
]
: T0
Definition Classes
Any
def
clone
()
: AnyRef
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
def
confirm
(
queueName: String
,
ids:
Set
[
Long
] =
Set[Long]()
)
:
Future
[
Int
]
Definition Classes
FinagledClient
→
FutureIface
def
currentStatus
()
:
Future
[
Status
]
Definition Classes
FinagledClient
→
FutureIface
def
decodeResponse
[
T <:
ThriftStruct
]
(
resBytes:
Array
[
Byte
]
,
codec:
ThriftStructCodec
[T]
)
: T
Attributes
protected
def
deleteQueue
(
queueName: String
)
:
Future
[
Unit
]
Definition Classes
FinagledClient
→
FutureIface
def
encodeRequest
(
name: String
,
args:
ThriftStruct
)
:
ThriftClientRequest
Attributes
protected
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
flushAllQueues
()
:
Future
[
Unit
]
Definition Classes
FinagledClient
→
FutureIface
def
flushQueue
(
queueName: String
)
:
Future
[
Unit
]
Definition Classes
FinagledClient
→
FutureIface
def
get
(
queueName: String
,
maxItems:
Int
,
timeoutMsec:
Int
=
0
,
autoAbortMsec:
Int
=
0
)
:
Future
[Seq[
Item
]]
Definition Classes
FinagledClient
→
FutureIface
final
def
getClass
()
: java.lang.Class[_]
Definition Classes
AnyRef → Any
def
getVersion
()
:
Future
[String]
Definition Classes
FinagledClient
→
FutureIface
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
missingResult
(
name: String
)
:
TApplicationException
Attributes
protected
final
def
ne
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
peek
(
queueName: String
)
:
Future
[
QueueInfo
]
Definition Classes
FinagledClient
→
FutureIface
def
put
(
queueName: String
,
items: Seq[
ByteBuffer
] =
Seq[ByteBuffer]()
,
expirationMsec:
Int
=
0
)
:
Future
[
Int
]
Definition Classes
FinagledClient
→
FutureIface
def
setStatus
(
status:
Status
)
:
Future
[
Unit
]
Definition Classes
FinagledClient
→
FutureIface
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
()
Inherited from
FutureIface
Inherited from AnyRef
Inherited from
Any