Skip to content

Commit b86be91

Browse files
committed
chore: Add Apache License header to cache-related Java files
1 parent 9788b47 commit b86be91

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed

connector/src/main/java/com/datastax/oss/cdc/cache/InMemoryCache.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/**
2+
* Copyright DataStax, Inc 2021.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.datastax.oss.cdc.cache;
217

318
import com.github.benmanes.caffeine.cache.Cache;

connector/src/main/java/com/datastax/oss/cdc/cache/MutationCache.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/**
2+
* Copyright DataStax, Inc 2021.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.datastax.oss.cdc.cache;
217

318
import com.github.benmanes.caffeine.cache.stats.CacheStats;

connector/src/main/java/com/datastax/oss/cdc/cache/PersistentCache.java

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
1+
/**
2+
* Copyright DataStax, Inc 2021.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.datastax.oss.cdc.cache;
217

318
import com.github.benmanes.caffeine.cache.Cache;
419
import com.github.benmanes.caffeine.cache.Caffeine;
520
import com.github.benmanes.caffeine.cache.RemovalCause;
621
import com.github.benmanes.caffeine.cache.stats.CacheStats;
7-
import com.google.common.annotations.VisibleForTesting;
822
import org.rocksdb.Options;
923
import org.rocksdb.RocksDBException;
1024
import org.rocksdb.TtlDB;

0 commit comments

Comments
 (0)