|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShardManagerMBean
Defines API for shard management extensions.
| Method Summary | |
|---|---|
DynamicMBeanHelper |
createHelper()
Returns a helper that supplies MBean metadata. |
int |
delete(java.util.List<java.util.Map<java.lang.String,java.lang.String>> params)
Deletes a list of shards based on shard ids (aka shard name). |
int |
deleteAll()
Deletes all shards from the shard table. |
int |
insert(java.util.List<java.util.Map<java.lang.String,java.lang.String>> params)
Inserts a list of shards into the shard table. |
boolean |
isAlive()
Returns true so that clients can confirm connection liveness. |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
list()
List all shards definitions |
int |
update(java.util.List<java.util.Map<java.lang.String,java.lang.String>> params)
Updates a list of shards into the shard table. |
| Method Detail |
|---|
boolean isAlive()
int insert(java.util.List<java.util.Map<java.lang.String,java.lang.String>> params)
throws java.sql.SQLException
params - a list of shards to be inserted
java.sql.SQLException
int update(java.util.List<java.util.Map<java.lang.String,java.lang.String>> params)
throws java.sql.SQLException
params - a list of shards to be updated
java.sql.SQLException
int delete(java.util.List<java.util.Map<java.lang.String,java.lang.String>> params)
throws java.sql.SQLException
params -
java.sql.SQLException
int deleteAll()
throws java.sql.SQLException
java.sql.SQLException
java.util.List<java.util.Map<java.lang.String,java.lang.String>> list()
throws java.sql.SQLException
java.sql.SQLException
DynamicMBeanHelper createHelper()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||