public TCPPublisher(Actor facade, int port) { super(facade, port); Log.Warn(this,"TCPPublisher uses blocking io, its strongly recommended to use TCPNIOPublisher instead."); }
public TCPPublisher(Actor facade, int port) { super(facade, port); Log.Warn(this,"TCPPublisher uses blocking io, its strongly recommended to use TCPNIOPublisher instead."); }
@Override public void warn(String s, Throwable throwable) { Log.Warn(name, throwable, s ); }
@Override public void warn(String s) { Log.Warn(name,s); }
@Override public void warn(String s, Object o, Object o1) { Log.Warn(name,s+" "+o+", "+o1); }
@Override public void cancelled() { Log.Warn(this, "request cancelled"); openRequests.decrementAndGet(); } });
private void addShard(TableSpaceActor sh) { if ( shards.indexOf(sh) < 0 ) shards.add(sh); else Log.Warn(this,"double add of shard "+sh ); }
public void removePublishedObject(long receiverKey) { Object remove = publishedActorMap.remove(receiverKey); if ( remove != null ) { publishedActorMappingReverse.remove(remove); } else { Log.Warn(this,"MISS REMOVE:"+receiverKey); } }
protected RealLiveTable hashAny(String key) { int h = Math.abs(key.hashCode())%NUM_SLOTS; RealLiveTable[] tables = shardMap.get(h); if ( tables == null || tables.length == 0 ) { Log.Warn(this, "cannot map keyHash " + h); return null; // FIXME: needs to be handled in methods below } return tables[0]; }
protected void nonAPIPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { Log.Warn(this,"unhandled post "+req.getPathInfo()); super.doPost(req,resp); }
@OnError public void onError( Throwable th ) { Log.Warn(this,th); }
@Override public void complete(Object result, Object error) { try { reg.receiveCBResult(chan.get(),id,result,error); } catch (Exception e) { Log.Warn(this, e, ""); FSTUtil.rethrow(e); } }
public File locateResource( KUrl urlPath ) { File file = locator.locateResource( urlPath.toUrlString() ); if ( file == null || ! file.exists() ) { Log.Warn(this, "failed to resolve '" + urlPath + "'"); } return file; }
public IPromise closeNetwork() { if ( server != null ) return server.close(); else { Log.Warn(null, "failed closing underlying network connection as server is null"); return new Promise<>(null,"server is null"); } }
protected synchronized void handleDisconnect() { if ( current == null ) // double message as each connection trial creates a disconnect callback return; Log.Warn(this,"registry disconnected"); if ( current != null ) { current.close(); current = null; } connectWithRetry(); }
protected synchronized void handleDisconnect() { if ( current == null ) // double message as each connection trial creates a disconnect callback return; Log.Warn(this,"registry disconnected"); if ( current != null ) { current.close(); current = null; } connectWithRetry(); }
@Override public IPromise<StorageStats> getStats() { try { final StorageStats stats = storageDriver.getStore().getStats(); return resolve(stats); } catch (Throwable th) { Log.Warn(this,th); return reject(th.getMessage()); } }
public void close(Actor closedOne) { try { getWriteObjectSocket().get().flush(); if ( closedOne.getActor() == facadeActor.getActor() ) { getWriteObjectSocket().get().close(); } } catch (Exception e) { Log.Warn(this,e); } cleanUp(); }
public void close(Actor closedOne) { try { getWriteObjectSocket().get().flush(); if ( closedOne.getActor() == facadeActor.getActor() ) { getWriteObjectSocket().get().close(); } } catch (Exception e) { Log.Warn(this,e); } cleanUp(); }