me
.
lightspeed7
.
scalazk
ZkClient
case class
ZkClient
(
curator:
CuratorFramework
,
connectTimeout:
Duration
=
5 seconds
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ZkClient
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
ZkClient
(
curator:
CuratorFramework
,
connectTimeout:
Duration
=
5 seconds
)
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
children
(
path:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Seq
[
String
]]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
close
()
:
Unit
val
connectTimeout
:
Duration
def
create
(
path:
String
,
data:
Array
[
Byte
]
,
createParents:
Boolean
=
false
,
disp:
CreateMode
=
CreateMode.PERSISTENT
,
acl:
Option
[
Seq
[
ACL
]] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
val
curator
:
CuratorFramework
def
delete
(
path:
String
,
children:
Boolean
=
false
,
version:
Option
[
Int
] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
def
ensurePath
(
path:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
exists
(
path:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
def
existsWithWatcher
(
path:
String
)
(
f: (
ZkWatchedEvent
) ⇒
Unit
=
identity
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
WatcherContext
]]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
get
(
path:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Array
[
Byte
]]
def
getACL
(
path:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Seq
[
ACL
]]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getCuratorClient
()
:
CuratorFramework
def
getZookeeperClient
()
:
CuratorZookeeperClient
def
hasNamespace
()
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isStarted
()
:
Boolean
def
mkdirs
(
path:
String
,
makeLastNode:
Boolean
,
aclProvider:
InternalACLProvider
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
def
mkdirs
(
path:
String
,
makeLastNode:
Boolean
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
def
mkdirs
(
path:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
def
namespace
()
:
Option
[
String
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
set
(
path:
String
,
data:
Array
[
Byte
]
,
createParents:
Boolean
=
false
,
version:
Option
[
Int
] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Stat
]
def
setACL
(
path:
String
,
acl:
Seq
[
ACL
]
,
version:
Option
[
Int
]
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Stat
]
def
shutdown
()
:
Unit
def
start
()
:
Future
[
ZkClient
]
def
start
(
atMost:
Duration
)
:
ZkClient
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped