Ejemplo n.º 1
0
 @Override
 public void purgeAllEvents() throws RuntimeException {
   try {
     partitionEventManager.purgeAllEvents(getSessionSubject());
   } catch (Throwable t) {
     throw getExceptionToThrowToClient(t);
   }
 }
Ejemplo n.º 2
0
 @Override
 public void deletePartitionEvents(int[] eventIds) throws RuntimeException {
   try {
     partitionEventManager.deletePartitionEvents(
         getSessionSubject(), ArrayUtils.toObject(eventIds));
   } catch (Throwable t) {
     throw getExceptionToThrowToClient(t);
   }
 }
Ejemplo n.º 3
0
 @Override
 public void cloudPartitionEventRequest() throws RuntimeException {
   try {
     partitionEventManager.cloudPartitionEventRequest(
         getSessionSubject(), PartitionEventType.ADMIN_INITIATED_PARTITION, "");
   } catch (Throwable t) {
     throw getExceptionToThrowToClient(t);
   }
 }
Ejemplo n.º 4
0
 @Override
 public PageList<PartitionEvent> findPartitionEventsByCriteria(PartitionEventCriteria criteria)
     throws RuntimeException {
   try {
     return SerialUtility.prepare(
         partitionEventManager.findPartitionEventsByCriteria(getSessionSubject(), criteria),
         "TopologyGWTServiceImpl.findPartitionEventsByCriteria");
   } catch (Throwable t) {
     throw getExceptionToThrowToClient(t);
   }
 }
Ejemplo n.º 5
0
 @Override
 public PageList<PartitionEventDetails> getPartitionEventDetails(
     int partitionEventId, PageControl pageControl) throws RuntimeException {
   try {
     return SerialUtility.prepare(
         partitionEventManager.getPartitionEventDetails(
             getSessionSubject(), partitionEventId, pageControl),
         "TopologyGWTServiceImpl.getPartitionEventDetails");
   } catch (Throwable t) {
     throw getExceptionToThrowToClient(t);
   }
 }