This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Alipay.com Inc. | |
* Copyright (c) 2004-2017 All Rights Reserved. | |
*/ | |
package com.qunar.kris.share.jdk8; | |
import java.util.concurrent.CompletableFuture; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.TimeoutException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Alipay.com Inc. | |
* Copyright (c) 2004-2017 All Rights Reserved. | |
*/ | |
package com.alipay.kris.other.springretry; | |
import java.util.Collections; | |
import java.util.Map; | |
import com.google.common.collect.Maps; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Alipay.com Inc. | |
* Copyright (c) 2004-2017 All Rights Reserved. | |
*/ | |
package com.qunar.kris.share.jdk8; | |
import java.util.concurrent.CompletableFuture; | |
import static java.util.concurrent.CompletableFuture.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Alipay.com Inc. | |
* Copyright (c) 2004-2017 All Rights Reserved. | |
*/ | |
package com.alipay.kris.other.atomix; | |
import java.time.Duration; | |
import java.util.List; | |
import java.util.Properties; | |
import java.util.concurrent.CompletableFuture; |