public JChannelProbeHandler(JChannel ch) { this.ch=ch; log=LogFactory.getLog(ch.getClass()); }
@ManagedAttribute(description="Type of logger used") public static String loggerType() {return LogFactory.loggerType();} /* --------------------------------------------- Fields ------------------------------------------------------ */
protected void initLogger() { LogFactory.setCustomLogFactory(JGroupsLoggerFactory.INSTANCE); }
public RouterStubManager(Protocol owner, String cluster_name, Address local_addr, String logical_name, PhysicalAddress phys_addr, long interval) { this.owner = owner; this.stubs = new ArrayList<>(); this.reconnect_list=new HashSet<>(); this.log = LogFactory.getLog(owner.getClass()); this.timer = owner.getTransport().getTimer(); this.cluster_name=cluster_name; this.local_addr=local_addr; this.logical_name=logical_name; this.phys_addr=phys_addr; this.interval = interval; }
@ManagedAttribute(description="Type of logger used") public static String loggerType() {return LogFactory.loggerType();} /* --------------------------------------------- Fields ------------------------------------------------------ */
public CredentialsProviderFactory() { this(LogFactory.getLog(AWS_PING.class)); }
public JChannelProbeHandler(JChannel ch) { this.ch=ch; log=LogFactory.getLog(ch.getClass()); }
public static void setAuthDao(AuthDao authDao) { if (HashedDaoAuthToken.authDao != null) { LogFactory.getLog(HashedDaoAuthToken.class) .warn( "A AuthDao was already set. " + HashedDaoAuthToken.authDao + " will be replaced with " + authDao); } HashedDaoAuthToken.authDao = authDao; }
public static void setAuthDao(AuthDao authDao) { if (HashedDaoAuthToken.authDao != null) { LogFactory.getLog(HashedDaoAuthToken.class) .warn( "A AuthDao was already set. " + HashedDaoAuthToken.authDao + " will be replaced with " + authDao); } HashedDaoAuthToken.authDao = authDao; }
public RouterStubManager(Protocol owner, String cluster_name, Address local_addr, String logical_name, PhysicalAddress phys_addr, long interval) { this.owner = owner; this.stubs = new ArrayList<>(); this.reconnect_list=new HashSet<>(); this.log = LogFactory.getLog(owner.getClass()); this.timer = owner.getTransport().getTimer(); this.cluster_name=cluster_name; this.local_addr=local_addr; this.logical_name=logical_name; this.phys_addr=phys_addr; this.interval = interval; }