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.example.hazelcasthibernatespring; | |
import com.hazelcast.config.Config; | |
import com.hazelcast.core.Hazelcast; | |
import com.hazelcast.core.HazelcastInstance; | |
import lombok.Data; | |
import org.hibernate.annotations.Cache; | |
import org.hibernate.annotations.CacheConcurrencyStrategy; | |
import org.hibernate.annotations.CreationTimestamp; | |
import org.springframework.boot.CommandLineRunner; |
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 test.ms; | |
import com.hazelcast.client.HazelcastClient; | |
import com.hazelcast.client.config.ClientConfig; | |
import com.hazelcast.config.SerializerConfig; | |
import com.hazelcast.core.HazelcastInstance; | |
import com.hazelcast.nio.ObjectDataInput; | |
import com.hazelcast.nio.ObjectDataOutput; | |
import com.hazelcast.nio.serialization.StreamSerializer; |
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.example.cachetest; | |
import lombok.extern.slf4j.Slf4j; | |
import org.aspectj.lang.JoinPoint; | |
import org.aspectj.lang.Signature; | |
import org.aspectj.lang.annotation.AfterThrowing; | |
import org.aspectj.lang.annotation.Aspect; | |
import org.springframework.boot.CommandLineRunner; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; |
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.example.democache; | |
import com.hazelcast.config.Config; | |
import com.hazelcast.config.EvictionPolicy; | |
import com.hazelcast.config.MapConfig; | |
import com.hazelcast.config.MaxSizeConfig; | |
import lombok.AllArgsConstructor; | |
import lombok.Data; | |
import lombok.extern.slf4j.Slf4j; | |
import org.springframework.boot.SpringApplication; |
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
import static com.hazelcast.jet.function.DistributedFunction.identity; | |
import static com.hazelcast.jet.pipeline.JournalInitialPosition.START_FROM_OLDEST; | |
import static com.hazelcast.jet.pipeline.WindowDefinition.sliding; | |
import com.hazelcast.core.IMap; | |
import com.hazelcast.jet.Jet; | |
import com.hazelcast.jet.JetInstance; | |
import com.hazelcast.jet.Traversers; | |
import com.hazelcast.jet.aggregate.AggregateOperations; |
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.example.cacheabletest; | |
import com.hazelcast.config.Config; | |
import com.hazelcast.core.HazelcastInstance; | |
import com.hazelcast.core.IMap; | |
import java.time.Duration; | |
import java.time.Instant; | |
import java.util.ArrayList; | |
import java.util.Comparator; | |
import java.util.List; |