Class BroadcastTableHandler
java.lang.Object
com.gigaspaces.internal.server.space.broadcast_table.BroadcastTableHandler
- Since:
- 15.8.0
- Author:
- alon shoham
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearEntries(ITemplatePacket template, int modifiers) intclearEntries(ITemplatePacket template, int modifiers, int maxEntries) Returns the number of entries cleared from backup partitions.booleanpullEntries(String typeName, Integer targetPartitionId) voidpushEntries(IEntryPacket[] entryPackets, long lease, long[] leases, long timeout, int modifiers) voidpushEntry(IEntryPacket entryPacket, long lease, boolean isUpdate, long timeout, int modifiers)
-
Constructor Details
-
BroadcastTableHandler
- Throws:
RemoteException
-
-
Method Details
-
pushEntry
public void pushEntry(IEntryPacket entryPacket, long lease, boolean isUpdate, long timeout, int modifiers) -
pushEntries
public void pushEntries(IEntryPacket[] entryPackets, long lease, long[] leases, long timeout, int modifiers) -
pullEntries
-
clearEntries
-
clearEntries
Returns the number of entries cleared from backup partitions.- Returns:
- The maximum number of entries cleared on any single backup partition (partition 0 is a no-op and reports 0), 0 if the broadcast task failed (and was logged), or -1 if any backup was an older version that ignored maxEntries and performed an unbounded clear. In the latter case, a follow-up unbounded broadcast has already been sent so all backups end up consistent (zero entries of this type).
-