- 博客(14)
- 资源 (6)
- 收藏
- 关注
原创 [OpenStack]openstack4j里的ServerService API
Server queryList org.openstack4j.api.compute.ServerService.list()List all servers (detailed) that the current tenant has access toReturns: list of all serversList org.openstack4j
2016-06-17 17:52:50 2176
原创 [OpenStack]Server status values
ACTIVE: The server is active.BUILD: The server has not yet finished the original build process.DELETED: The server is deleted.ERROR: The server is in error.HARD_REBOOT: The server is hard rebooting. T
2016-06-17 12:06:40 732 1
转载 [OpenStack]架构和基本概念
ArchitectureKey Compute API ConceptsServerA virtual machine (VM) instance, physical machine or a container in the compute system.Flavor and image are requisite elements when cr
2016-06-16 16:59:03 464
原创 [ZooKeeper]常见的KeeperException
常见的KeeperException里,Connectionloss异常通常是可以忽略的,authfailed和session expired异常要求重新创建zookeeper客户端。其他种类的异常,根据实际业务逻辑来处理。ZooKeeper.create NodeExistsException NODEEXISTS - if a node with the same actual pat
2016-06-11 15:23:16 10144
原创 [ZooKeeper]纠正官网的Queue示例
单机版的队列用BlockingDeque或BlockingQueue就能实现import java.util.concurrent.BlockingDeque;import java.util.concurrent.LinkedBlockingDeque;/** * 单机版的队列 * */public class StandaloneQueue { private Block
2016-06-02 17:33:44 357
原创 [ZooKeeper]纠正官网的Barrier的示例
Barrier接口public interface Barrier { void enter() throws InterruptedException; void leave() throws InterruptedException;}单机版的Barrier两个CountDownLatch就可以实现/** * 单机模式的Barrier */public c
2016-06-01 18:39:37 742
Spring MVC、hibernate validator和i18n源代码
2010-03-29
《Java 2 入门经典 JDK5》 源代码
2008-07-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人