public class InMemoryMapper extends InternalMapper
KieSession
identifier mapping.
Used only when the RuntimeManager
is used without persistence.Constructor and Description |
---|
InMemoryMapper() |
Modifier and Type | Method and Description |
---|---|
Object |
findContextId(Long ksessionId,
String ownerId) |
List<String> |
findContextIdForEvent(String eventType,
String ownerId) |
Long |
findMapping(org.kie.api.runtime.manager.Context<?> context,
String ownerId) |
boolean |
hasContext(Long ksessionId) |
void |
removeMapping(org.kie.api.runtime.manager.Context<?> context,
String ownerId) |
void |
saveMapping(org.kie.api.runtime.manager.Context<?> context,
Long ksessionId,
String ownerId) |
public void saveMapping(org.kie.api.runtime.manager.Context<?> context, Long ksessionId, String ownerId)
public void removeMapping(org.kie.api.runtime.manager.Context<?> context, String ownerId)
public boolean hasContext(Long ksessionId)
public List<String> findContextIdForEvent(String eventType, String ownerId)
findContextIdForEvent
in class InternalMapper
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.