org.springframework.integration.metadata.ConcurrentMetadataStore Java Examples
The following examples show how to use
org.springframework.integration.metadata.ConcurrentMetadataStore.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GcsPersistentAcceptOnceFileListFilterTest.java From spring-cloud-gcp with Apache License 2.0 | 5 votes |
@Test public void modified_updateTimeIsNull_shouldReturnMinusOne() { BlobInfo blobInfo = mock(BlobInfo.class); when(blobInfo.getUpdateTime()).thenReturn(null); assertThat( new GcsPersistentAcceptOnceFileListFilter(mock(ConcurrentMetadataStore.class), "").modified(blobInfo)) .isEqualTo(-1); }
Example #2
Source File: KinesisMessageChannelBinder.java From spring-cloud-stream-binder-aws-kinesis with Apache License 2.0 | 4 votes |
public void setCheckpointStore(ConcurrentMetadataStore checkpointStore) { this.checkpointStore = checkpointStore; }
Example #3
Source File: GcsPersistentAcceptOnceFileListFilter.java From spring-cloud-gcp with Apache License 2.0 | 4 votes |
public GcsPersistentAcceptOnceFileListFilter(ConcurrentMetadataStore store, String prefix) { super(store, prefix); }
Example #4
Source File: GcsPersistentAcceptOnceFileListFilterTest.java From spring-cloud-gcp with Apache License 2.0 | 4 votes |
@Test public void modified_blobInfoIsNull_shouldReturnMinusOne() { assertThat(new GcsPersistentAcceptOnceFileListFilter(mock(ConcurrentMetadataStore.class), "").modified(null)) .isEqualTo(-1); }
Example #5
Source File: CloudStreamKinesisToWebfluxApplicationTests.java From spring-cloud-stream-samples with Apache License 2.0 | 4 votes |
@Bean public ConcurrentMetadataStore simpleMetadataStore() { return new SimpleMetadataStore(); }