Modifier and Type | Field and Description |
---|---|
protected com.hazelcast.core.HazelcastInstance |
instance |
protected Serializer |
serializer |
Constructor and Description |
---|
HazelcastSender(com.hazelcast.core.HazelcastInstance instance) |
Modifier and Type | Method and Description |
---|---|
HazelcastSender |
configure(Serializer serializer)
Configures this sender with the given
Serializer |
protected com.hazelcast.topic.ITopic<byte[]> |
getTopic() |
protected String |
getTopicName() |
protected org.slf4j.Logger |
logger() |
boolean |
send(Event event)
Sends the given
Event |
protected com.hazelcast.core.HazelcastInstance instance
protected Serializer serializer
public HazelcastSender(com.hazelcast.core.HazelcastInstance instance)
public HazelcastSender configure(Serializer serializer)
Sender
Serializer
configure
in interface Sender
serializer
- the Serializer
to usepublic boolean send(Event event)
Sender
Event
protected org.slf4j.Logger logger()
protected com.hazelcast.topic.ITopic<byte[]> getTopic()
protected String getTopicName()
Copyright © 2011–2020 aiticon GmbH. All rights reserved.