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
package com.folion.activity.dao; | |
import com.couchbase.client.core.time.Delay; | |
import com.couchbase.client.java.Bucket; | |
import com.couchbase.client.java.Cluster; | |
import com.couchbase.client.java.CouchbaseCluster; | |
import com.couchbase.client.java.document.RawJsonDocument; | |
import com.couchbase.client.java.error.CASMismatchException; | |
import com.couchbase.client.java.error.DocumentDoesNotExistException; | |
import com.couchbase.client.java.util.retry.RetryBuilder; |
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
package com.folion.activity.dao; | |
import com.couchbase.client.core.time.Delay; | |
import com.couchbase.client.java.Bucket; | |
import com.couchbase.client.java.Cluster; | |
import com.couchbase.client.java.CouchbaseCluster; | |
import com.couchbase.client.java.document.RawJsonDocument; | |
import com.couchbase.client.java.error.CASMismatchException; | |
import com.couchbase.client.java.error.DocumentDoesNotExistException; | |
import com.couchbase.client.java.util.retry.RetryBuilder; |
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
package com.folion.activity.dao; | |
import com.couchbase.client.core.time.Delay; | |
import com.couchbase.client.java.Bucket; | |
import com.couchbase.client.java.Cluster; | |
import com.couchbase.client.java.CouchbaseCluster; | |
import com.couchbase.client.java.document.RawJsonDocument; | |
import com.couchbase.client.java.error.CASMismatchException; | |
import com.couchbase.client.java.error.DocumentDoesNotExistException; | |
import com.couchbase.client.java.util.retry.RetryBuilder; |
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
package com.folion.core.service; | |
import java.io.IOException; | |
import java.nio.charset.CoderResult; | |
import java.nio.file.*; | |
public class FileReader { | |
public void watch() throws IOException { | |
WatchService watcher = FileSystems.getDefault().newWatchService(); |
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
package com.folion.core.service; | |
import java.io.IOException; | |
import java.nio.charset.CoderResult; | |
import java.nio.file.*; | |
public class FileReader { | |
public void watch() throws IOException { | |
WatchService watcher = FileSystems.getDefault().newWatchService(); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="CompilerConfiguration"> | |
<bytecodeTargetLevel> | |
<module name="elastic-search-practice_main" target="1.8" /> | |
<module name="elastic-search-practice_test" target="1.8" /> | |
</bytecodeTargetLevel> | |
</component> | |
</project> |