|
40 | 40 | import java.util.function.Supplier; |
41 | 41 | import java.util.stream.Collectors; |
42 | 42 |
|
43 | | -import com.sun.istack.NotNull; |
44 | | - |
45 | 43 | import org.junit.AfterClass; |
46 | 44 | import org.junit.Before; |
47 | 45 |
|
|
83 | 81 | import org.springframework.util.ReflectionUtils; |
84 | 82 |
|
85 | 83 | /** |
86 | | - * The {@link IntegrationTestsSupport} class is an abstract base class supporting integration tests |
87 | | - * with either Apache Geode or VMware GemFire in a Spring context. |
| 84 | + * Abstract base class supporting integration tests with either Apache Geode or VMware Tanzu GemFire |
| 85 | + * in a Spring context. |
88 | 86 | * |
89 | 87 | * @author John Blum |
90 | 88 | * @see java.io.File |
91 | | - * @see java.time.LocalDateTime |
92 | | - * @see java.util.concurrent.TimeUnit |
93 | | - * @see java.util.function.Function |
94 | | - * @see java.util.function.Predicate |
95 | 89 | * @see org.apache.geode.DataSerializer |
96 | 90 | * @see org.apache.geode.cache.GemFireCache |
| 91 | + * @see org.apache.geode.cache.client.ClientCache |
| 92 | + * @see org.apache.geode.cache.execute.FunctionService |
97 | 93 | * @see org.apache.geode.distributed.Locator |
| 94 | + * @see org.apache.geode.internal.cache.CacheLifecycleListener |
| 95 | + * @see org.apache.geode.internal.cache.GemFireCacheImpl |
98 | 96 | * @see org.springframework.context.ApplicationContext |
99 | 97 | * @see org.springframework.context.ApplicationEvent |
100 | 98 | * @see org.springframework.context.ApplicationEventPublisher |
101 | 99 | * @see org.springframework.context.ApplicationEventPublisherAware |
102 | 100 | * @see org.springframework.context.ConfigurableApplicationContext |
103 | 101 | * @see org.springframework.core.env.ConfigurableEnvironment |
| 102 | + * @see org.springframework.core.env.Environment |
104 | 103 | * @see org.springframework.core.env.PropertySource |
105 | 104 | * @see org.springframework.core.env.StandardEnvironment |
106 | 105 | * @see org.springframework.data.gemfire.support.GemfireBeanFactoryLocator |
@@ -531,12 +530,12 @@ public static void stopGemFireLocatorWaitOnStopEvent(long duration) { |
531 | 530 | return qualifiedDirectoryName; |
532 | 531 | } |
533 | 532 |
|
534 | | - private static @NotNull String asTimestampedDirectoryName(@NonNull Class<?> type) { |
| 533 | + private static @NonNull String asTimestampedDirectoryName(@NonNull Class<?> type) { |
535 | 534 | return String.format(DIRECTORY_NAME_FORMAT, asQualifiedDirectoryName(type), |
536 | 535 | LocalDateTime.now().format(DateTimeFormatter.ofPattern(DATE_TIME_PATTERN))); |
537 | 536 | } |
538 | 537 |
|
539 | | - private static @NotNull String asUniqueDirectoryName(@NonNull Class<?> type) { |
| 538 | + private static @NonNull String asUniqueDirectoryName(@NonNull Class<?> type) { |
540 | 539 | return String.format(DIRECTORY_NAME_FORMAT, asTimestampedDirectoryName(type), UUID.randomUUID()); |
541 | 540 | } |
542 | 541 |
|
|
0 commit comments