|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.client.console.ClientConsoleApp
public class ClientConsoleApp
A demo application to demonstrate a Hazelcast client. This is probably NOT something you want to use in production.
| Constructor Summary | |
|---|---|
ClientConsoleApp(HazelcastInstance hazelcast)
|
|
| Method Summary | |
|---|---|
void |
entryAdded(EntryEvent event)
|
void |
entryEvicted(EntryEvent event)
|
void |
entryRemoved(EntryEvent event)
|
void |
entryUpdated(EntryEvent event)
|
IAtomicLong |
getAtomicNumber()
|
IList<Object> |
getList()
|
IMap<Object,Object> |
getMap()
|
MultiMap<Object,Object> |
getMultiMap()
|
IQueue<Object> |
getQueue()
|
ISet<Object> |
getSet()
|
ITopic<Object> |
getTopic()
|
protected void |
handleAddListener(String[] args)
|
protected void |
handleClear(String[] args)
|
protected void |
handleCommand(String commandInputted)
Handle a command |
protected void |
handleContains(String[] args)
|
protected void |
handleDestroy(String[] args)
|
protected void |
handleHelp(String command)
Handled the help command |
protected void |
handleInstances(String[] args)
|
protected void |
handleIterator(String[] args)
|
protected void |
handleListAdd(String[] args)
|
protected void |
handleListAddMany(String[] args)
|
protected void |
handleListContains(String[] args)
|
protected void |
handleListRemove(String[] args)
|
protected void |
handleListSet(String[] args)
|
protected void |
handleLock(String[] args)
|
protected void |
handleMapEntries()
|
protected void |
handleMapEvict(String[] args)
|
protected void |
handleMapGet(String[] args)
|
protected void |
handleMapGetAsync(String[] args)
|
protected void |
handleMapGetMany(String[] args)
|
protected void |
handleMapGetMapEntry(String[] args)
|
protected void |
handleMapKeys()
|
protected void |
handleMapLocalKeys()
|
protected void |
handleMapLocalSize()
|
protected void |
handleMapLock(String[] args)
|
protected void |
handleMapPut(String[] args)
|
protected void |
handleMapPutAsync(String[] args)
|
protected void |
handleMapPutIfAbsent(String[] args)
|
protected void |
handleMapPutMany(String[] args)
|
protected void |
handleMapRemove(String[] args)
|
protected void |
handleMapRemoveMany(String[] args)
|
protected void |
handleMapReplace(String[] args)
|
protected void |
handleMapTryLock(String[] args)
|
protected void |
handleMapUnlock(String[] args)
|
protected void |
handleMapValues()
|
protected void |
handleMultiMapEntries()
|
protected void |
handleMultiMapGet(String[] args)
|
protected void |
handleMultiMapKeys()
|
protected void |
handleMultiMapLock(String[] args)
|
protected void |
handleMultiMapPut(String[] args)
|
protected void |
handleMultiMapRemove(String[] args)
|
protected void |
handleMultiMapTryLock(String[] args)
|
protected void |
handleMultiMapUnlock(String[] args)
|
protected void |
handleMultiMapValues()
|
protected void |
handlePartitions(String[] args)
|
protected void |
handleQCapacity(String[] args)
|
protected void |
handleQOffer(String[] args)
|
protected void |
handleQOfferMany(String[] args)
|
protected void |
handleQPeek(String[] args)
|
protected void |
handleQPoll(String[] args)
|
protected void |
handleQPollMany(String[] args)
|
protected void |
handleQTake(String[] args)
|
protected void |
handleRemoveListener(String[] args)
|
protected void |
handleSetAdd(String[] args)
|
protected void |
handleSetAddMany(String[] args)
|
protected void |
handleSetRemove(String[] args)
|
protected void |
handleSetRemoveMany(String[] args)
|
protected void |
handleSize(String[] args)
|
protected void |
handleTopicPublish(String[] args)
|
void |
itemAdded(ItemEvent itemEvent)
|
void |
itemRemoved(ItemEvent itemEvent)
|
static void |
main(String[] args)
Starts the test application. |
void |
mapCleared(MapEvent event)
|
void |
mapEvicted(MapEvent event)
|
void |
onMessage(Message msg)
|
void |
print(Object obj)
|
void |
println(Object obj)
|
void |
setHazelcast(HazelcastInstance hazelcast)
|
void |
start(String[] args)
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientConsoleApp(HazelcastInstance hazelcast)
| Method Detail |
|---|
public IQueue<Object> getQueue()
public ITopic<Object> getTopic()
public IMap<Object,Object> getMap()
public MultiMap<Object,Object> getMultiMap()
public IAtomicLong getAtomicNumber()
public ISet<Object> getSet()
public IList<Object> getList()
public void setHazelcast(HazelcastInstance hazelcast)
public void stop()
public void start(String[] args)
throws Exception
Exceptionprotected void handleCommand(String commandInputted)
commandInputted - protected void handlePartitions(String[] args)
protected void handleInstances(String[] args)
protected void handleListContains(String[] args)
protected void handleListRemove(String[] args)
protected void handleListAdd(String[] args)
protected void handleListSet(String[] args)
protected void handleListAddMany(String[] args)
protected void handleMapPut(String[] args)
protected void handleMapPutAsync(String[] args)
protected void handleMapPutIfAbsent(String[] args)
protected void handleMapReplace(String[] args)
protected void handleMapGet(String[] args)
protected void handleMapGetAsync(String[] args)
protected void handleMapGetMapEntry(String[] args)
protected void handleMapRemove(String[] args)
protected void handleMapEvict(String[] args)
protected void handleMapPutMany(String[] args)
protected void handleMapGetMany(String[] args)
protected void handleMapRemoveMany(String[] args)
protected void handleMapLock(String[] args)
protected void handleMapTryLock(String[] args)
protected void handleMapUnlock(String[] args)
protected void handleMapLocalKeys()
protected void handleMapLocalSize()
protected void handleMapKeys()
protected void handleMapEntries()
protected void handleMapValues()
protected void handleMultiMapPut(String[] args)
protected void handleMultiMapGet(String[] args)
protected void handleMultiMapRemove(String[] args)
protected void handleMultiMapKeys()
protected void handleMultiMapEntries()
protected void handleMultiMapValues()
protected void handleMultiMapLock(String[] args)
protected void handleMultiMapTryLock(String[] args)
protected void handleMultiMapUnlock(String[] args)
protected void handleLock(String[] args)
protected void handleAddListener(String[] args)
protected void handleRemoveListener(String[] args)
protected void handleSetAdd(String[] args)
protected void handleSetRemove(String[] args)
protected void handleSetAddMany(String[] args)
protected void handleSetRemoveMany(String[] args)
protected void handleIterator(String[] args)
protected void handleContains(String[] args)
protected void handleSize(String[] args)
protected void handleClear(String[] args)
protected void handleDestroy(String[] args)
protected void handleQOffer(String[] args)
protected void handleQTake(String[] args)
protected void handleQPoll(String[] args)
protected void handleTopicPublish(String[] args)
protected void handleQOfferMany(String[] args)
protected void handleQPollMany(String[] args)
protected void handleQPeek(String[] args)
protected void handleQCapacity(String[] args)
public void entryAdded(EntryEvent event)
entryAdded in interface EntryListenerpublic void entryRemoved(EntryEvent event)
entryRemoved in interface EntryListenerpublic void entryUpdated(EntryEvent event)
entryUpdated in interface EntryListenerpublic void entryEvicted(EntryEvent event)
entryEvicted in interface EntryListenerpublic void mapEvicted(MapEvent event)
mapEvicted in interface EntryListenerpublic void mapCleared(MapEvent event)
mapCleared in interface EntryListenerpublic void itemAdded(ItemEvent itemEvent)
itemAdded in interface ItemListenerpublic void itemRemoved(ItemEvent itemEvent)
itemRemoved in interface ItemListenerpublic void onMessage(Message msg)
onMessage in interface MessageListenerprotected void handleHelp(String command)
command - public void println(Object obj)
public void print(Object obj)
public static void main(String[] args)
throws Exception
args - none
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||