Class ContextPartitionIdServiceImpl
java.lang.Object
com.espertech.esper.common.internal.context.cpidsvc.ContextPartitionIdServiceImpl
- All Implemented Interfaces:
ContextPartitionIdService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
allocateId
(Object[] partitionKeys) void
clear()
void
void
destroy()
long
getCount()
getIds()
Object[]
getPartitionKeys
(int id) void
removeId
(int contextPartitionId)
-
Constructor Details
-
ContextPartitionIdServiceImpl
public ContextPartitionIdServiceImpl()
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfaceContextPartitionIdService
-
getPartitionKeys
- Specified by:
getPartitionKeys
in interfaceContextPartitionIdService
-
allocateId
- Specified by:
allocateId
in interfaceContextPartitionIdService
-
removeId
public void removeId(int contextPartitionId) - Specified by:
removeId
in interfaceContextPartitionIdService
-
getIds
- Specified by:
getIds
in interfaceContextPartitionIdService
-
destroy
public void destroy()- Specified by:
destroy
in interfaceContextPartitionIdService
-
clearCaches
public void clearCaches()- Specified by:
clearCaches
in interfaceContextPartitionIdService
-
getCount
public long getCount()- Specified by:
getCount
in interfaceContextPartitionIdService
-