Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public ThreadCache getCache() {
}

@Override
public void initialized() {
public void initialize() {
initialized = true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Map<TopicPartition, Long> initialize() {
);
}
initTopology();
processorContext.initialized();
processorContext.initialize();
return stateMgr.checkpointed();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public interface InternalProcessorContext extends ProcessorContext {
/**
* Mark this context as being initialized
*/
void initialized();
void initialize();

/**
* Mark this context as being uninitialized
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public boolean initializeStateStores() {
log.trace("Initializing state stores");
registerStateStores();
checkpointedOffsets = Collections.unmodifiableMap(stateMgr.checkpointed());
processorContext.initialized();
processorContext.initialize();
taskInitialized = true;
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public void initializeTopology() {
transactionInFlight = true;
}

processorContext.initialized();
processorContext.initialize();

taskInitialized = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void before() {

@Test
public void shouldThrowIllegalStateExceptionOnRegisterWhenContextIsInitialized() {
context.initialized();
context.initialize();
try {
context.register(stateStore, null);
fail("should throw illegal state exception when context already initialized");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public Serde<?> valueSerde() {

// state mgr will be overridden by the state dir and store maps
@Override
public void initialized() {}
public void initialize() {}

public void setStreamTime(final long currentTime) {
streamTime = currentTime;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void commit() {
}

@Override
public void initialized() {
public void initialize() {
initialized = true;
}

Expand Down