/* */ public void run() /* */ { /* 51 */ Subscriber localSubscriber = null; /* */ /* 56 */ while (this.cacheManager.failoverEnabledCacheExists()) /* */ { /* */ try /* */ { /* 61 */ localSubscriber = (Subscriber) AccessController.doPrivileged( new PrivilegedExceptionAction() /* */ { /* */ public Object run() /* */ throws ONSException /* */ { /* 69 */ return new Subscriber( "(%\"eventType=database/event/service\")|(%\"eventType=database/event/host\")", "", 30000L); /* */ } /* */ /* */ }); /* */ } /* */ catch (PrivilegedActionException localPrivilegedActionException) /* */ { /* */ } /* */ /* 79 */ if (localSubscriber != null) /* */ { /* */ try /* */ { /* 83 */ while (this.cacheManager.failoverEnabledCacheExists()) /* */ { /* 86 */ if ((this.event = localSubscriber.receive(true)) != null) /* 87 */ handleEvent(this.event); /* */ } /* */ } /* */ catch (ONSException localONSException) /* */ { /* 92 */ localSubscriber.close(); /* */ } /* */ /* */ } /* */ /* */ try /* */ { /* 102 */ Thread.currentThread(); Thread.sleep(10000L); /* */ } /* */ catch (InterruptedException localInterruptedException) /* */ { /* */ } /* */ } /* */ }