没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > jrugged |
jrugged
|
0 | 0 | 0 |
贡献者 | 讨论 | 代码提交 |
News16 March 2010: Version 2.0.0 of the Jrugged library released! Now with support for easy integration with the Spring Framework.
Dec 2009: Comcast Interactive Media will be the new distributor for jrugged, and it will continue as an open source project distributed under the Apache 2.0 license. We're excited to have the CIM folks on board!
About JruggedThe jrugged library implements some common patterns needed for building robust, production-ready server code in Java. It provides straightforward add-ons to existing code to make it more tolerant of failures and easier to manage. In other words, it makes your Java code more rugged!
Although there are several lower-level building block classes here available for custom solutions, most clients will find they can use just the following classes:
CircuitBreaker provides a way to wrap a service in a way that provides a bulkhead against system failure; when a remote service fails, further calls to the service are prevented for a period of time to allow the remote service to recover. Initializer provides a way to decouple service construction from initialization/startup and allows the latter to occur in the background, even retrying if initial attempts to initialize fail. PerformanceMonitor provides a way to wrap a service and collect a series of useful statistics about its latency and throughput, even calculating moving averages across different time windows. Monitorable, Status, and RolledUpStatus are related classes that provide a simple RED/YELLOW/GREEN encoding for service health, possibly useful for constructing operational dashboards. Generally speaking, most of these classes implement a ServiceWrapper interface to allow them to be applied around existing services using the Decorator design pattern. Those classes providing operational information, such as PerformanceMonitor and Monitorable can be wrapped in classes that expose their data to JMX controls or on web-accessible health status pages as desired.
Latest Stable Release: jrugged-core-2.0.0.jar, jrugged-aspects-2.0.0.jar, jrugged-spring-2.0.0.jar