Package cz.o2.proxima.tools.groovy
Class Console
- java.lang.Object
-
- cz.o2.proxima.tools.groovy.ShellRunnable
-
- cz.o2.proxima.tools.groovy.Console
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class Console extends ShellRunnable implements java.lang.AutoCloseable
This is the groovysh based console.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINITIAL_STATEMENT-
Fields inherited from class cz.o2.proxima.tools.groovy.ShellRunnable
conf, direct, readers, repo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static Consolecreate(cz.o2.proxima.typesafe.config.Config config, Repository repo)static Consolecreate(cz.o2.proxima.typesafe.config.Config config, Repository repo, java.lang.String[] args)static Consoleget(java.lang.String[] args)static voidmain(java.lang.String[] args)cz.o2.proxima.direct.server.rpc.proto.service.Rpc.GetResponserpcGet(EntityDescriptor entity, java.lang.String key, java.lang.String attr, java.lang.String host, int port)cz.o2.proxima.direct.server.rpc.proto.service.Rpc.ListResponserpcList(EntityDescriptor entity, java.lang.String key, AttributeDescriptor<?> wildcard, java.lang.String offset, int limit, java.lang.String host, int port)-
Methods inherited from class cz.o2.proxima.tools.groovy.ShellRunnable
createWrapperClass, delete, delete, findEntityDescriptor, get, getBatchSnapshot, getBatchSnapshot, getBatchUpdates, getDirect, getImpulse, getPeriodicImpulse, getRandomAccessReader, getStream, getStream, getUnionStream, put, put
-
-
-
-
Field Detail
-
INITIAL_STATEMENT
public static final java.lang.String INITIAL_STATEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public static Console get(java.lang.String[] args)
-
create
public static Console create(cz.o2.proxima.typesafe.config.Config config, Repository repo)
-
create
public static Console create(cz.o2.proxima.typesafe.config.Config config, Repository repo, java.lang.String[] args)
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
rpcList
public cz.o2.proxima.direct.server.rpc.proto.service.Rpc.ListResponse rpcList(EntityDescriptor entity, java.lang.String key, AttributeDescriptor<?> wildcard, java.lang.String offset, int limit, java.lang.String host, int port)
-
rpcGet
public cz.o2.proxima.direct.server.rpc.proto.service.Rpc.GetResponse rpcGet(EntityDescriptor entity, java.lang.String key, java.lang.String attr, java.lang.String host, int port)
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-